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 /settings_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 'settings_gui.c')
-rw-r--r-- | settings_gui.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/settings_gui.c b/settings_gui.c index 478a1c7e3..3bcf5ea9e 100644 --- a/settings_gui.c +++ b/settings_gui.c @@ -1238,10 +1238,10 @@ static void NewgrfWndProc(Window *w, WindowEvent *e) static const Widget _newgrf_widgets[] = { { WWT_CLOSEBOX, RESIZE_NONE, 14, 0, 10, 0, 13, STR_00C5, STR_018B_CLOSE_WINDOW}, { WWT_CAPTION, RESIZE_NONE, 14, 11, 279, 0, 13, STR_NEWGRF_SETTINGS_CAPTION, STR_018C_WINDOW_TITLE_DRAG_THIS}, -{ WWT_MATRIX, RESIZE_NONE, 14, 0, 268, 14, 182, 0xC01,/*small rows*/ STR_NEWGRF_TIP}, +{ WWT_MATRIX, RESIZE_NONE, 14, 0, 267, 14, 182, 0xC01,/*small rows*/ STR_NEWGRF_TIP}, { WWT_PANEL, RESIZE_NONE, 14, 0, 279, 183, 276, 0x0, STR_NULL}, -{ WWT_SCROLLBAR, RESIZE_NONE, 14, 269, 279, 14, 182, 0x0, STR_0190_SCROLL_BAR_SCROLLS_LIST}, +{ WWT_SCROLLBAR, RESIZE_NONE, 14, 268, 279, 14, 182, 0x0, STR_0190_SCROLL_BAR_SCROLLS_LIST}, { WWT_CLOSEBOX, RESIZE_NONE, 14, 147, 158, 244, 255, STR_0188, STR_NULL}, { WWT_CLOSEBOX, RESIZE_NONE, 14, 159, 170, 244, 255, STR_0189, STR_NULL}, |