Preliminary fix to support recruiting at low resolutions.
This commit is contained in:
parent
7ece1be993
commit
0b82ea29bc
1 changed files with 32 additions and 12 deletions
|
@ -2,7 +2,7 @@
|
||||||
###
|
###
|
||||||
### The recruit dialog.
|
### The recruit dialog.
|
||||||
###
|
###
|
||||||
|
{gui/default/macros/_initial.cfg}
|
||||||
#define _GUI_RECRUIT_WINDOW SIDE
|
#define _GUI_RECRUIT_WINDOW SIDE
|
||||||
[window]
|
[window]
|
||||||
id=recruit_message_{SIDE}
|
id=recruit_message_{SIDE}
|
||||||
|
@ -18,15 +18,15 @@
|
||||||
|
|
||||||
definition= "default"
|
definition= "default"
|
||||||
|
|
||||||
automatic_placement= "false"
|
#automatic_placement= "false"
|
||||||
#vertical_placement= "center"
|
#vertical_placement= "center"
|
||||||
#horizontal_placement= "right"
|
#horizontal_placement= "right"
|
||||||
maximum_width= 800
|
maximum_width= 800
|
||||||
maximum_height= 600
|
maximum_height= 600
|
||||||
width=800
|
#width=700
|
||||||
height=600
|
#height=550
|
||||||
x=743
|
# x=743
|
||||||
y=200
|
# y=200
|
||||||
|
|
||||||
[grid]
|
[grid]
|
||||||
|
|
||||||
|
@ -46,16 +46,35 @@
|
||||||
[row]
|
[row]
|
||||||
[column]
|
[column]
|
||||||
horizontal_alignment=left
|
horizontal_alignment=left
|
||||||
vertical_alignment=top
|
vertical_alignment=bottom
|
||||||
[grid]
|
[grid]
|
||||||
[row]
|
[row]
|
||||||
|
|
||||||
|
|
||||||
[column]
|
[column]
|
||||||
|
vertical_alignment=bottom
|
||||||
|
#min_width = 250 #"{__GUI_IMAGE_DISPLAYED_WIDTH}"
|
||||||
|
#min_height = 250 #"{__GUI_IMAGE_DISPLAYED_HEIGHT}"
|
||||||
|
|
||||||
|
#w=250
|
||||||
|
#h=250
|
||||||
|
|
||||||
|
#default_width = 250 #"{__GUI_IMAGE_DISPLAYED_WIDTH}"
|
||||||
|
#default_height = 250 #"{__GUI_IMAGE_DISPLAYED_HEIGHT}"
|
||||||
|
|
||||||
|
#max_width = 250 #"{__GUI_IMAGE_DISPLAYED_WIDTH}"
|
||||||
|
#max_height = 250 #"{__GUI_IMAGE_DISPLAYED_HEIGHT}"
|
||||||
|
#{GUI_FORCE_WIDGET_MINIMUM_SIZE
|
||||||
|
#{__GUI_IMAGE_DISPLAYED_WIDTH} {__GUI_IMAGE_DISPLAYED_HEIGHT} (
|
||||||
|
{GUI_FORCE_WIDGET_MINIMUM_SIZE 500 500 (
|
||||||
[image]
|
[image]
|
||||||
|
vertical_alignment=bottom
|
||||||
definition=scaled
|
definition=scaled
|
||||||
id=unit_portrait
|
id=unit_portrait
|
||||||
[/image]
|
[/image])}
|
||||||
[/column]
|
[/column]
|
||||||
|
|
||||||
|
|
||||||
[column]
|
[column]
|
||||||
horizontal_alignment=right
|
horizontal_alignment=right
|
||||||
vertical_alignment=top
|
vertical_alignment=top
|
||||||
|
@ -80,7 +99,8 @@
|
||||||
|
|
||||||
[row]
|
[row]
|
||||||
[column]
|
[column]
|
||||||
#horizontal_grow=true
|
vertical_grow=false
|
||||||
|
#horizontal_grow=false
|
||||||
vertical_alignment=top
|
vertical_alignment=top
|
||||||
horizontal_alignment=right
|
horizontal_alignment=right
|
||||||
[listbox]
|
[listbox]
|
||||||
|
@ -112,7 +132,7 @@
|
||||||
[/row]
|
[/row]
|
||||||
[row]
|
[row]
|
||||||
[column]
|
[column]
|
||||||
grow_factor=1
|
#grow_factor=1
|
||||||
#horizontal_grow="true"
|
#horizontal_grow="true"
|
||||||
|
|
||||||
border="all"
|
border="all"
|
||||||
|
@ -178,8 +198,8 @@
|
||||||
[/column]
|
[/column]
|
||||||
[column]
|
[column]
|
||||||
[spacer]
|
[spacer]
|
||||||
width=280
|
#width=120
|
||||||
height=0
|
#height=0
|
||||||
|
|
||||||
|
|
||||||
[/spacer]
|
[/spacer]
|
||||||
|
|
Loading…
Add table
Reference in a new issue