forked from mirror/OpenTTD
(svn r18213) -Codechange: it's not needed to manually set the fill, (re)size and tooltip for scrollbars
This commit is contained in:
@@ -1017,7 +1017,7 @@ static const NWidgetPart _nested_message_history[] = {
|
||||
NWidget(WWT_PANEL, COLOUR_BROWN, MHW_BACKGROUND), SetMinimalSize(200, 125), SetDataTip(0x0, STR_MESSAGE_HISTORY_TOOLTIP), SetResize(1, 12),
|
||||
EndContainer(),
|
||||
NWidget(NWID_VERTICAL),
|
||||
NWidget(WWT_SCROLLBAR, COLOUR_BROWN, MHW_SCROLLBAR), SetFill(false, true), SetDataTip(0x0, STR_TOOLTIP_VSCROLL_BAR_SCROLLS_LIST), SetResize(0, 1),
|
||||
NWidget(WWT_SCROLLBAR, COLOUR_BROWN, MHW_SCROLLBAR),
|
||||
NWidget(WWT_RESIZEBOX, COLOUR_BROWN, MHW_RESIZEBOX),
|
||||
EndContainer(),
|
||||
EndContainer(),
|
||||
|
Reference in New Issue
Block a user