diff options
author | darkvater <darkvater@openttd.org> | 2005-01-04 21:28:09 +0000 |
---|---|---|
committer | darkvater <darkvater@openttd.org> | 2005-01-04 21:28:09 +0000 |
commit | 4c5f6fe3602395e114dab4cd9961134cc08151a1 (patch) | |
tree | 90af100ef9047dc5f4fc292a408855edcf2dc159 /industry_gui.c | |
parent | 0fe19ed2ac84cb4fa785ac230a5184da35922189 (diff) | |
download | openttd-4c5f6fe3602395e114dab4cd9961134cc08151a1.tar.xz |
(svn r1379) -Fix: various GUI glitches. Added default sizes to various widgets. Sticky/Resize- and Scrollbar must be 11 pixels wide, Horizontal scrollbar 11 pixels high, caption must be 13 pixels. I hope I didn't forget any widgets, the game will assert for that so report them to me!
Diffstat (limited to 'industry_gui.c')
-rw-r--r-- | industry_gui.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/industry_gui.c b/industry_gui.c index 1260af85c..81643f4ce 100644 --- a/industry_gui.c +++ b/industry_gui.c @@ -378,10 +378,10 @@ static const Widget _industry_directory_widgets[] = { { WWT_PUSHTXTBTN, RESIZE_NONE, 13, 101, 200, 14, 25, STR_SORT_BY_TYPE, STR_SORT_ORDER_TIP}, { WWT_PUSHTXTBTN, RESIZE_NONE, 13, 201, 300, 14, 25, STR_SORT_BY_PRODUCTION, STR_SORT_ORDER_TIP}, { WWT_PUSHTXTBTN, RESIZE_NONE, 13, 301, 400, 14, 25, STR_SORT_BY_TRANSPORTED, STR_SORT_ORDER_TIP}, -{ WWT_PANEL, RESIZE_NONE, 13, 401, 496, 14, 25, 0x0, STR_NULL}, -{ WWT_IMGBTN, RESIZE_BOTTOM, 13, 0, 496, 26, 189, 0x0, STR_200A_TOWN_NAMES_CLICK_ON_NAME}, -{ WWT_SCROLLBAR, RESIZE_BOTTOM, 13, 497, 507, 14, 177, 0x0, STR_0190_SCROLL_BAR_SCROLLS_LIST}, -{ WWT_RESIZEBOX, RESIZE_TB, 13, 497, 507, 178, 189, 0x0, STR_RESIZE_BUTTON}, +{ WWT_PANEL, RESIZE_NONE, 13, 401, 495, 14, 25, 0x0, STR_NULL}, +{ WWT_IMGBTN, RESIZE_BOTTOM, 13, 0, 495, 26, 189, 0x0, STR_200A_TOWN_NAMES_CLICK_ON_NAME}, +{ WWT_SCROLLBAR, RESIZE_BOTTOM, 13, 496, 507, 14, 177, 0x0, STR_0190_SCROLL_BAR_SCROLLS_LIST}, +{ WWT_RESIZEBOX, RESIZE_TB, 13, 496, 507, 178, 189, 0x0, STR_RESIZE_BUTTON}, { WIDGETS_END}, }; |