diff options
author | rubidium <rubidium@openttd.org> | 2009-11-19 16:33:11 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-11-19 16:33:11 +0000 |
commit | a36c258644004932f30322d237e0be7214a2191f (patch) | |
tree | b8baf80741594ac0fcd9cfa4e970aabc045dfe1c /src | |
parent | 2535b1afcf6139c2daf16b9bdb4af38dd71279e1 (diff) | |
download | openttd-a36c258644004932f30322d237e0be7214a2191f.tar.xz |
(svn r18185) -Fix: the up/down buttons had the wrong logical ordering with RTL. Also one of the tooltips was incorrect.
Diffstat (limited to 'src')
-rw-r--r-- | src/vehicle_gui.cpp | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/vehicle_gui.cpp b/src/vehicle_gui.cpp index 861dd7b68..167361c23 100644 --- a/src/vehicle_gui.cpp +++ b/src/vehicle_gui.cpp @@ -1293,12 +1293,10 @@ static const NWidgetPart _nested_nontrain_vehicle_details_widgets[] = { NWidget(WWT_PANEL, COLOUR_GREY, VLD_WIDGET_MIDDLE_DETAILS), SetMinimalSize(405, 45), EndContainer(), NWidget(WWT_PANEL, COLOUR_GREY, VLD_WIDGET_BOTTOM_RIGHT), NWidget(NWID_HORIZONTAL), - NWidget(NWID_HORIZONTAL_LTR), - NWidget(WWT_PUSHTXTBTN, COLOUR_GREY, VLD_WIDGET_DECREASE_SERVICING_INTERVAL), SetFill(false, true), - SetDataTip(STR_BLACK_SMALL_ARROW_LEFT, STR_VEHICLE_DETAILS_DECREASE_SERVICING_INTERVAL_TOOLTIP), - NWidget(WWT_PUSHTXTBTN, COLOUR_GREY, VLD_WIDGET_INCREASE_SERVICING_INTERVAL), SetFill(false, true), - SetDataTip(STR_BLACK_SMALL_ARROW_RIGHT, STR_VEHICLE_DETAILS_DECREASE_SERVICING_INTERVAL_TOOLTIP), - EndContainer(), + NWidget(WWT_PUSHTXTBTN, COLOUR_GREY, VLD_WIDGET_DECREASE_SERVICING_INTERVAL), SetFill(false, true), + SetDataTip(STR_BLACK_SMALL_ARROW_LEFT, STR_VEHICLE_DETAILS_DECREASE_SERVICING_INTERVAL_TOOLTIP), + NWidget(WWT_PUSHTXTBTN, COLOUR_GREY, VLD_WIDGET_INCREASE_SERVICING_INTERVAL), SetFill(false, true), + SetDataTip(STR_BLACK_SMALL_ARROW_RIGHT, STR_VEHICLE_DETAILS_INCREASE_SERVICING_INTERVAL_TOOLTIP), NWidget(WWT_EMPTY, COLOUR_GREY, VLD_WIDGET_SERVICING_INTERVAL), SetFill(true, true), EndContainer(), EndContainer(), |