summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoralberth <alberth@openttd.org>2009-05-09 12:49:28 +0000
committeralberth <alberth@openttd.org>2009-05-09 12:49:28 +0000
commit0cd6dde6a75d1e72051a62caf6e4a9a4dffd8f09 (patch)
tree090f1d6e51af7fd3557d268ac546b4ec3c2c9a1f
parent590becf567a3554cd5954d6444f9e586319b6ae8 (diff)
downloadopenttd-0cd6dde6a75d1e72051a62caf6e4a9a4dffd8f09.tar.xz
(svn r16257) -Codechange: Added empty widgets in load dialogue to move the resize box to the right place in the array.
-rw-r--r--src/misc_gui.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/misc_gui.cpp b/src/misc_gui.cpp
index 553641fe4..8114adcdb 100644
--- a/src/misc_gui.cpp
+++ b/src/misc_gui.cpp
@@ -1506,7 +1506,10 @@ static const Widget _load_dialog_widgets[] = {
{ WWT_INSET, RESIZE_RB, COLOUR_GREY, 2, 243, 50, 139, 0x0, STR_SAVELOAD_LIST_TOOLTIP}, // SLWW_DRIVES_DIRECTORIES_LIST
{ WWT_SCROLLBAR, RESIZE_LRB, COLOUR_GREY, 245, 256, 60, 141, 0x0, STR_TOOLTIP_VSCROLL_BAR_SCROLLS_LIST}, // SLWW_SCROLLBAR
{ WWT_PUSHTXTBTN, RESIZE_RTB, COLOUR_GREY, 0, 243, 142, 153, STR_CONTENT_INTRO_BUTTON, STR_CONTENT_INTRO_BUTTON_TIP}, // SLWW_CONTENT_DOWNLOAD
-{ WWT_RESIZEBOX, RESIZE_LRTB, COLOUR_GREY, 245, 256, 142, 153, 0x0, STR_RESIZE_BUTTON},
+{ WWT_EMPTY, RESIZE_NONE, COLOUR_GREY, 0, 0, 0, 0, 0x0, STR_NULL}, // SLWW_SAVE_OSK_TITLE
+{ WWT_EMPTY, RESIZE_NONE, COLOUR_GREY, 0, 0, 0, 0, 0x0, STR_NULL}, // SLWW_DELETE_SELECTION
+{ WWT_EMPTY, RESIZE_NONE, COLOUR_GREY, 0, 0, 0, 0, 0x0, STR_NULL}, // SLWW_SAVE_GAME
+{ WWT_RESIZEBOX, RESIZE_LRTB, COLOUR_GREY, 245, 256, 142, 153, 0x0, STR_RESIZE_BUTTON}, // SLWW_RESIZE
{ WIDGETS_END},
};