(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 2d46598c77
commit b7e7db7625

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;