tweaked help bubbles after testing in various languages
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5890 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
93d2f49671
commit
0273249bad
@ -1638,7 +1638,7 @@ void Skin::draw3DSunkenPane (IGUIElement *element, video::SColor bgcolor, bool f
|
||||
core::rect< s32 > rect2 = rect;
|
||||
|
||||
// minor adjustments...
|
||||
rect2.UpperLeftCorner.X -= 15;
|
||||
rect2.UpperLeftCorner.X -= 7;
|
||||
//rect2.LowerRightCorner.X -= 15;
|
||||
|
||||
if (bubble->isFocusedForPlayer(PLAYER_ID_GAME_MASTER))
|
||||
|
@ -52,8 +52,7 @@ void BubbleWidget::add()
|
||||
m_expanded_size = m_shrinked_size;
|
||||
const int additionalNeededSize = std::max(0, text_height - m_shrinked_size.getHeight());
|
||||
|
||||
// the '5' here is a bit arbitrary...
|
||||
if (additionalNeededSize > 5)
|
||||
if (additionalNeededSize > 0)
|
||||
{
|
||||
m_expanded_size.UpperLeftCorner.Y -= additionalNeededSize/2 + 10;
|
||||
m_expanded_size.LowerRightCorner.Y += additionalNeededSize/2 + 10;
|
||||
|
Loading…
x
Reference in New Issue
Block a user