(svn r18064) -Codechange: make the sticky box size to the height of the title bar preventing glitches with larger fonts

This commit is contained in:
rubidium 2009-11-13 20:10:13 +00:00
parent 6ed7c6a88c
commit 7288ef506e
1 changed files with 1 additions and 1 deletions

View File

@ -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;