mirror of https://github.com/OpenTTD/OpenTTD.git
(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:
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…
Reference in New Issue