mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-16 00:12:51 +00:00
(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
2d46598c77
commit
b7e7db7625
@ -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
Block a user