From 7288ef506e35fd20f1485ebd10c96f3476f58f39 Mon Sep 17 00:00:00 2001 From: rubidium Date: Fri, 13 Nov 2009 20:10:13 +0000 Subject: [PATCH] (svn r18064) -Codechange: make the sticky box size to the height of the title bar preventing glitches with larger fonts --- src/widget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/widget.cpp b/src/widget.cpp index 8fb787ff8c..c069970fb8 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;