summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2006-11-18 17:34:20 +0000
committerpeter1138 <peter1138@openttd.org>2006-11-18 17:34:20 +0000
commit7fe387708ff265897624cbd318b87cc51bf50ce1 (patch)
treee05f584a8a9c0e0eadd2b16e0969cf4087ca1333
parent615e7b2892baa85996105634dde316bd1efc2052 (diff)
downloadopenttd-7fe387708ff265897624cbd318b87cc51bf50ce1.tar.xz
(svn r7209) -Codechange: Alter position of scroll bar in the station list; the filter line isn't scrollable...
-rw-r--r--station_gui.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/station_gui.c b/station_gui.c
index d41a16664..c148d9cf6 100644
--- a/station_gui.c
+++ b/station_gui.c
@@ -458,7 +458,7 @@ static const Widget _player_stations_widgets[] = {
{ WWT_CAPTION, RESIZE_RIGHT, 14, 11, 345, 0, 13, STR_3048_STATIONS, STR_018C_WINDOW_TITLE_DRAG_THIS},
{ WWT_STICKYBOX, RESIZE_LR, 14, 346, 357, 0, 13, 0x0, STR_STICKY_BUTTON},
{ WWT_PANEL, RESIZE_RB, 14, 0, 345, 37, 161, 0x0, STR_3057_STATION_NAMES_CLICK_ON},
-{ WWT_SCROLLBAR, RESIZE_LRB, 14, 346, 357, 25, 149, 0x0, STR_0190_SCROLL_BAR_SCROLLS_LIST},
+{ WWT_SCROLLBAR, RESIZE_LRB, 14, 346, 357, 37, 149, 0x0, STR_0190_SCROLL_BAR_SCROLLS_LIST},
{ WWT_RESIZEBOX, RESIZE_LRTB, 14, 346, 357, 150, 161, 0x0, STR_RESIZE_BUTTON},
//Index 6
{ WWT_TEXTBTN, RESIZE_NONE, 14, 0, 13, 14, 24, STR_TRAIN, STR_USE_CTRL_TO_SELECT_MORE},
@@ -491,7 +491,7 @@ static const Widget _player_stations_widgets[] = {
{ WWT_PUSHTXTBTN, RESIZE_NONE, 14, 0, 80, 25, 36, STR_SORT_BY, STR_SORT_ORDER_TIP},
{ WWT_PANEL, RESIZE_NONE, 14, 81, 232, 25, 36, 0x0, STR_SORT_CRITERIA_TIP},
{ WWT_TEXTBTN, RESIZE_NONE, 14, 233, 243, 25, 36, STR_0225, STR_SORT_CRITERIA_TIP},
-{ WWT_PANEL, RESIZE_RIGHT, 14, 244, 345, 25, 36, 0x0, STR_NULL},
+{ WWT_PANEL, RESIZE_RIGHT, 14, 244, 357, 25, 36, 0x0, STR_NULL},
{ WIDGETS_END},
};