forked from mirror/OpenTTD
(svn r10704) -Codechange: provide an infrastructure to have resizable windows that are smaller than the default window size.
This commit is contained in:
@@ -133,7 +133,7 @@ static const Widget _sign_list_widget[] = {
|
||||
};
|
||||
|
||||
static const WindowDesc _sign_list_desc = {
|
||||
WDP_AUTO, WDP_AUTO, 358, 138,
|
||||
WDP_AUTO, WDP_AUTO, 358, 138, 358, 138,
|
||||
WC_SIGN_LIST, WC_NONE,
|
||||
WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_STICKY_BUTTON | WDF_RESIZABLE,
|
||||
_sign_list_widget,
|
||||
@@ -296,7 +296,7 @@ static const Widget _query_sign_edit_widgets[] = {
|
||||
};
|
||||
|
||||
static const WindowDesc _query_sign_edit_desc = {
|
||||
190, 170, 260, 42,
|
||||
190, 170, 260, 42, 260, 42,
|
||||
WC_QUERY_STRING, WC_NONE,
|
||||
WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET,
|
||||
_query_sign_edit_widgets,
|
||||
|
Reference in New Issue
Block a user