diff options
author | rubidium <rubidium@openttd.org> | 2009-11-13 20:10:13 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-11-13 20:10:13 +0000 |
commit | 7288ef506e35fd20f1485ebd10c96f3476f58f39 (patch) | |
tree | 5c9a8b2af522b3c1bbe89ce8333312f7f041579c | |
parent | 6ed7c6a88c74f791a6d131cbd022b2d16b12dc4e (diff) | |
download | openttd-7288ef506e35fd20f1485ebd10c96f3476f58f39.tar.xz |
(svn r18064) -Codechange: make the sticky box size to the height of the title bar preventing glitches with larger fonts
-rw-r--r-- | src/widget.cpp | 2 |
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; |