Made the editor gui work better on low resolutions.

No more empty space at 800x480.

Switched the order of row 3 and 4 of the tool buttons.
This commit is contained in:
Fabian Müller 2012-10-08 11:51:02 +00:00
parent 0da6f9be9c
commit 9526f9e3bf

View file

@ -326,62 +326,14 @@
yanchor=fixed
[/menu]
#3rd Row.
[menu]
id=undo_button_editor
ref=flood_button_editor
image=undo_button_editor
items=undo
auto_tooltip=yes
rect="=,+9,+24,+24"
xanchor=right
yanchor=fixed
[/menu]
[menu]
id=redo_button_editor
image=redo_button_editor
items=redo
auto_tooltip=yes
rect="+6,=,+24,+24"
xanchor=right
yanchor=fixed
[/menu]
[menu]
id=zoom_in_button_editor
image=zoom_in_button_editor
items=zoomin
auto_tooltip=yes
rect="+6,=,+24,+24"
xanchor=right
yanchor=fixed
[/menu]
[menu]
id=zoom_out_button_editor
image=zoom_out_button_editor
items=zoomout
auto_tooltip=yes
rect="+6,=,+24,+24"
xanchor=right
yanchor=fixed
[/menu]
[menu]
id=zoom_default_button_editor
image=zoom_default_button_editor
items=zoomdefault
auto_tooltip=yes
rect="+6,=,+24,+24"
xanchor=right
yanchor=fixed
[/menu]
#4th Row.
#3th Row.
[menu]
id=resize_button_editor
image=resize_button_editor
items=editor-map-resize
tooltip_name_prepend=yes
ref=undo_button_editor
rect="=,+6,+24,+24"
ref=flood_button_editor
rect="=,+9,+24,+24"
xanchor=right
yanchor=fixed
[/menu]
@ -426,6 +378,54 @@
yanchor=fixed
[/menu]
#4rd Row.
[menu]
id=undo_button_editor
ref=resize_button_editor
image=undo_button_editor
items=undo
auto_tooltip=yes
rect="=,+6,+24,+24"
xanchor=right
yanchor=fixed
[/menu]
[menu]
id=redo_button_editor
image=redo_button_editor
items=redo
auto_tooltip=yes
rect="+6,=,+24,+24"
xanchor=right
yanchor=fixed
[/menu]
[menu]
id=zoom_in_button_editor
image=zoom_in_button_editor
items=zoomin
auto_tooltip=yes
rect="+6,=,+24,+24"
xanchor=right
yanchor=fixed
[/menu]
[menu]
id=zoom_out_button_editor
image=zoom_out_button_editor
items=zoomout
auto_tooltip=yes
rect="+6,=,+24,+24"
xanchor=right
yanchor=fixed
[/menu]
[menu]
id=zoom_default_button_editor
image=zoom_default_button_editor
items=zoomdefault
auto_tooltip=yes
rect="+6,=,+24,+24"
xanchor=right
yanchor=fixed
[/menu]
[brush_bar]
id=brush-bar
ref=bottom-right-panel
@ -643,6 +643,11 @@
rect="=+10,=+7,=-7,+94"
[/change]
[change]
id=undo_button_editor
ref=flood_button_editor
[/change]
[remove]
id=resize_button_editor
[/remove]
@ -689,25 +694,25 @@
width=800
height=480
[remove]
id=undo_button_editor
[/remove]
#[remove]
# id=undo_button_editor
#[/remove]
[remove]
id=redo_button_editor
[/remove]
#[remove]
# id=redo_button_editor
#[/remove]
[remove]
id=zoom_in_button_editor
[/remove]
#[remove]
# id=zoom_in_button_editor
#[/remove]
[remove]
id=zoom_out_button_editor
[/remove]
#[remove]
# id=zoom_out_button_editor
#[/remove]
[remove]
id=zoom_default_button_editor
[/remove]
#[remove]
# id=zoom_default_button_editor
#[/remove]
[/partialresolution]