Made sure menu button are flush with window border

This commit is contained in:
Charles Dang 2016-07-24 09:56:12 +11:00
parent d90f1eae7b
commit a5130a4c36
2 changed files with 7 additions and 7 deletions

View file

@ -81,7 +81,7 @@
image=button_menu/menu_button_copper_H20
items=objectives,statistics,unitlist,statustable,save,savereplay,savemap,load,preferences,chatlog,menu-autosaves,help,stopnetwork,startnetwork,quit,quit-to-desktop
ref=top-panel
rect="=+3,=+1,+100,=-4"
rect="=,=+1,+100,=-4"
xanchor=fixed
yanchor=fixed
[/menu]
@ -98,7 +98,7 @@
title= _ "Actions"
image=button_menu/menu_button_copper_H20
items=undo,redo,wbexecuteallactions,wbexecuteaction,wbdeleteaction,wbtoggle,cycle,speak,recruit,recall,showenemymoves,bestenemymoves,delayshroud,updateshroud,label_settings,command
rect="+2,=,+100,="
rect="+0,=,+100,="
xanchor=fixed
yanchor=fixed
[/menu]

View file

@ -63,7 +63,7 @@
font_size=9
items=editor-scenario-edit,statustable,unitlist,editor-map-new,editor-scenario-new,editor-map-load,menu-editor-recent,editor-map-revert,editor-map-save,editor-map-save-as,editor-scenario-save-as,editor-map-save-all,preferences,help,editor-close-map,quit,quit-to-desktop
ref=top-panel
rect="=+1,=+1,+100,+20"
rect="=,=+1,+100,+20"
xanchor=fixed
yanchor=fixed
[/menu]
@ -90,7 +90,7 @@
title= _ "Map"
image=button_menu/menu_button_copper_H20
items=editor-map-resize,editor-map-rotate,editor-map-generate, editor-map-apply-mask,editor-map-create-mask-to,menu-editor-transitions,editor-refresh,editor-refresh-image-cache,togglegrid,editor-draw-coordinates,editor-draw-terrain-codes
rect="+1,=,+100,+20"
rect="+0,=,+100,+20"
xanchor=fixed
yanchor=fixed
[/menu]
@ -111,7 +111,7 @@
title= _ "Window"
image=button_menu/menu_button_copper_H20
items=editor-switch-map
rect="+1,=,+100,="
rect="+0,=,+100,="
xanchor=fixed
yanchor=fixed
[/menu]
@ -120,7 +120,7 @@
title= _ "Areas"
image=button_menu/menu_button_copper_H20
items=editor-switch-area, editor-add-area, editor-remove-area, editor-save-area, editor-rename-area, menu-editor-local-time
rect="+1,=,+100,="
rect="+0,=,+100,="
xanchor=fixed
yanchor=fixed
[/menu]
@ -143,7 +143,7 @@
image=button_menu/menu_button_copper_H20
font_size={DEFAULT_EDITOR_FONT_SMALL}
items=editor-switch-side,editor-side-new,editor-side-edit,editor-side-remove
rect="+1,=,+100,="
rect="+0,=,+100,="
xanchor=fixed
yanchor=fixed
[/menu]