(svn r20587) -Codechange (r20456)[FS#4035]: Revert to scrollbars without minimal size to simplify window setup.

This commit is contained in:
frosch 2010-08-21 10:59:03 +00:00
parent 284feb4236
commit 64d7b84c9f
1 changed files with 2 additions and 2 deletions

View File

@ -1644,14 +1644,14 @@ NWidgetScrollbar::NWidgetScrollbar(WidgetType tp, Colours colour, int index) : N
switch (this->type) {
case NWID_HSCROLLBAR:
this->SetMinimalSize(30, WD_HSCROLLBAR_HEIGHT);
this->SetMinimalSize(0, WD_HSCROLLBAR_HEIGHT);
this->SetResize(1, 0);
this->SetFill(1, 0);
this->SetDataTip(0x0, STR_TOOLTIP_HSCROLL_BAR_SCROLLS_LIST);
break;
case NWID_VSCROLLBAR:
this->SetMinimalSize(WD_VSCROLLBAR_WIDTH, 30);
this->SetMinimalSize(WD_VSCROLLBAR_WIDTH, 0);
this->SetResize(0, 1);
this->SetFill(0, 1);
this->SetDataTip(0x0, STR_TOOLTIP_VSCROLL_BAR_SCROLLS_LIST);