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 | d63144e8c00ca6776771012dfc2503cc6a671fc1 (patch) | |
tree | 90af100ef9047dc5f4fc292a408855edcf2dc159 /news_gui.c | |
parent | 5704882186da3ef6b0266aa8ef8eadff73357b09 (diff) | |
download | openttd-d63144e8c00ca6776771012dfc2503cc6a671fc1.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 'news_gui.c')
-rw-r--r-- | news_gui.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/news_gui.c b/news_gui.c index 8b230c6fb..5359d8bad 100644 --- a/news_gui.c +++ b/news_gui.c @@ -607,8 +607,8 @@ static void MessageHistoryWndProc(Window *w, WindowEvent *e) static const Widget _message_history_widgets[] = { { WWT_CLOSEBOX, RESIZE_NONE, 13, 0, 10, 0, 13, STR_00C5, STR_018B_CLOSE_WINDOW}, { WWT_CAPTION, RESIZE_NONE, 13, 11, 399, 0, 13, STR_MESSAGE_HISTORY, STR_018C_WINDOW_TITLE_DRAG_THIS}, -{ WWT_IMGBTN, RESIZE_NONE, 13, 0, 388, 14, 139, 0x0, STR_MESSAGE_HISTORY_TIP}, -{ WWT_SCROLLBAR, RESIZE_NONE, 13, 389, 399, 14, 139, 0x0, STR_0190_SCROLL_BAR_SCROLLS_LIST}, +{ WWT_IMGBTN, RESIZE_NONE, 13, 0, 387, 14, 139, 0x0, STR_MESSAGE_HISTORY_TIP}, +{ WWT_SCROLLBAR, RESIZE_NONE, 13, 388, 399, 14, 139, 0x0, STR_0190_SCROLL_BAR_SCROLLS_LIST}, { WIDGETS_END}, }; |