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

replace/41b28d7194a279bdc17475d4fbe2ea6ec885a466
rubidium 15 years ago
parent 6ed7c6a88c
commit 7288ef506e

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

Loading…
Cancel
Save