summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-11-13 20:10:13 +0000
committerrubidium <rubidium@openttd.org>2009-11-13 20:10:13 +0000
commit7288ef506e35fd20f1485ebd10c96f3476f58f39 (patch)
tree5c9a8b2af522b3c1bbe89ce8333312f7f041579c /src
parent6ed7c6a88c74f791a6d131cbd022b2d16b12dc4e (diff)
downloadopenttd-7288ef506e35fd20f1485ebd10c96f3476f58f39.tar.xz
(svn r18064) -Codechange: make the sticky box size to the height of the title bar preventing glitches with larger fonts
Diffstat (limited to 'src')
-rw-r--r--src/widget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widget.cpp b/src/widget.cpp
index 8fb787ff8..c069970fb 100644
--- a/src/widget.cpp
+++ b/src/widget.cpp
@@ -1980,7 +1980,7 @@ NWidgetLeaf::NWidgetLeaf(WidgetType tp, Colours colour, int index, uint16 data,
break;
case WWT_STICKYBOX:
- this->SetFill(false, false);
+ this->SetFill(false, true);
this->SetMinimalSize(WD_STICKYBOX_WIDTH, 14);
this->SetDataTip(STR_NULL, STR_TOOLTIP_STICKY);
break;