# HG changeset patch # User frosch # Date 1282388343 0 # Node ID 7585966382b1af10efabc50240c176b613af18c6 # Parent a28e6fe274d704058456af2c56254e3e80da50bb (svn r20587) -Codechange (r20456)[FS#4035]: Revert to scrollbars without minimal size to simplify window setup. diff --git a/src/widget.cpp b/src/widget.cpp --- a/src/widget.cpp +++ b/src/widget.cpp @@ -1644,14 +1644,14 @@ 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);