diff options
author | Darkvater <darkvater@openttd.org> | 2006-11-11 10:12:00 +0000 |
---|---|---|
committer | Darkvater <darkvater@openttd.org> | 2006-11-11 10:12:00 +0000 |
commit | 47e7ad7771fc361962fdc169caf7c1a3ed875a1d (patch) | |
tree | 6e47823efb2a0ac2553e9bcd1acebfe6c7e7744f /dock_gui.c | |
parent | 21db9ebb8e5692245e1e6d68a045649f6a37166a (diff) | |
download | openttd-47e7ad7771fc361962fdc169caf7c1a3ed875a1d.tar.xz |
(svn r7130) -Codechange: Handle the positioning of windows through the desc->left/top settings with
some special values (WDP_) instead of checking window-class. This also fixes FS#172
now that we can position windows arbitrarily and are not restricted to window-classes.
Diffstat (limited to 'dock_gui.c')
-rw-r--r-- | dock_gui.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dock_gui.c b/dock_gui.c index 97a1a9d4d..534af3ddf 100644 --- a/dock_gui.c +++ b/dock_gui.c @@ -205,7 +205,7 @@ static const Widget _build_docks_toolb_widgets[] = { }; static const WindowDesc _build_docks_toolbar_desc = { - 0, 22, 158, 36, + WDP_ALIGN_TBR, 22, 158, 36, WC_BUILD_TOOLBAR, 0, WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_STICKY_BUTTON, _build_docks_toolb_widgets, |