Fix the layout for 1024x768 and higher.
This commit is contained in:
parent
f1a9a3e8a7
commit
c59da51bac
1 changed files with 39 additions and 47 deletions
|
@ -28,7 +28,7 @@
|
|||
|
||||
{themes/macros.cfg}
|
||||
|
||||
############################################### 1024x768 #######################################################
|
||||
############################################### 1024x768 ######################################################
|
||||
[resolution]
|
||||
id=1024x768
|
||||
width=1024
|
||||
|
@ -47,14 +47,6 @@
|
|||
items=editor-cut,editor-copy,editor-paste,editor-tool-select,editor-select-all,editor-select-inverse,editor-select-none,editor-clipboard-rotate-cw,editor-clipboard-rotate-ccw,editor-clipboard-flip-horizontal,editor-clipboard-flip-vertical,editor-selection-name,editor-selection-fill,editor-selection-rotate,editor-selection-flip, editor-selection-generate,editor-selection-randomize
|
||||
[/menu]
|
||||
|
||||
# [menu]
|
||||
# id=menu-editor-selection-context
|
||||
# is_context_menu=true
|
||||
# items=editor-cut,editor-copy,editor-paste,editor-select-all,editor-select-inverse
|
||||
# #TODO the next one is difficult since it means we
|
||||
# #,editor-select-none
|
||||
# [/menu]
|
||||
|
||||
####### Menu Bar
|
||||
[panel]
|
||||
id=top-panel
|
||||
|
@ -183,22 +175,6 @@
|
|||
# xanchor=fixed
|
||||
# yanchor=fixed
|
||||
# [/panel]
|
||||
[panel]
|
||||
id=terrain-info-panel
|
||||
ref=top-panel
|
||||
image=themes/status_box/status_box_H20W145.png
|
||||
rect="-138,=+1,+145,+20"
|
||||
xanchor=fixed
|
||||
yanchor=fixed
|
||||
[/panel]
|
||||
[label]
|
||||
id=terrain-icon
|
||||
icon=icons/terrain/terrain_type_info.png
|
||||
text= _ "units"
|
||||
rect="=+5,=+2,+20,+16"
|
||||
xanchor=fixed
|
||||
yanchor=fixed
|
||||
[/label]
|
||||
|
||||
####### Upper Toolbar - Left Side
|
||||
[panel]
|
||||
|
@ -473,10 +449,6 @@
|
|||
# yanchor=fixed
|
||||
# [/action]
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
######## Upper Toolbar - Right Side
|
||||
[action]
|
||||
id=toggle_grid_button_editor
|
||||
|
@ -586,12 +558,38 @@
|
|||
[panel]
|
||||
id=top-right-panel
|
||||
image=themes/editor/classic/minimap.png
|
||||
#ref=screen
|
||||
ref=top-panel
|
||||
rect="843,+0,1024,+204"
|
||||
ref=screen
|
||||
#ref=top-panel
|
||||
rect="843,0,1024,204"
|
||||
xanchor=right
|
||||
yanchor=fixed
|
||||
[/panel]
|
||||
[panel]
|
||||
id=terrain-panel
|
||||
image=themes/status_box/status_box_H20W168.png
|
||||
rect="=+9,=+1,+168,+20"
|
||||
xanchor=right
|
||||
yanchor=fixed
|
||||
[/panel]
|
||||
|
||||
# [panel]
|
||||
# id=terrain-info-panel
|
||||
# ref=top-panel
|
||||
# image=themes/status_box/status_box_H20W145.png
|
||||
# rect="-138,=+1,+145,+20"
|
||||
# xanchor=fixed
|
||||
# yanchor=fixed
|
||||
# [/panel]
|
||||
[label]
|
||||
id=terrain-icon
|
||||
icon=icons/terrain/terrain_type_info.png
|
||||
text= _ "terrain"
|
||||
rect="=+5,=+2,+20,+16"
|
||||
xanchor=right
|
||||
yanchor=fixed
|
||||
[/label]
|
||||
|
||||
|
||||
[mini_map]
|
||||
id=mini-map
|
||||
ref=top-right-panel
|
||||
|
@ -599,13 +597,7 @@
|
|||
xanchor=right
|
||||
yanchor=fixed
|
||||
[/mini_map]
|
||||
# [panel]
|
||||
# id=terrain-panel
|
||||
# image=themes/status_box/status_box_H20W168.png
|
||||
# rect="=+9,=+1,+168,+20"
|
||||
# xanchor=fixed
|
||||
# yanchor=fixed
|
||||
# [/panel]
|
||||
|
||||
[action]
|
||||
id=zoom_default_button_editor
|
||||
items=zoomdefault
|
||||
|
@ -1009,16 +1001,16 @@
|
|||
xanchor=right
|
||||
yanchor=fixed
|
||||
[/terrain_info]
|
||||
[terrain]
|
||||
id=status-terrain
|
||||
ref=terrain-panel
|
||||
font_size={DEFAULT_EDITOR_FONT_REALLYTINY}
|
||||
# [terrain]
|
||||
# id=status-terrain
|
||||
# ref=terrain-panel
|
||||
# font_size={DEFAULT_EDITOR_FONT_REALLYTINY}
|
||||
#font_size={DEFAULT_EDITOR_FONT_SMALL}
|
||||
#rect="=+115,=,=-24,="
|
||||
rect="=+3,=+6,1024,+16"
|
||||
xanchor=right
|
||||
yanchor=fixed
|
||||
[/terrain]
|
||||
# rect="=+3,=+6,1024,+16"
|
||||
# xanchor=right
|
||||
# yanchor=fixed
|
||||
# [/terrain]
|
||||
[/status]
|
||||
[/resolution]
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue