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.
|
||||
###
|
||||
|
||||
{gui/default/macros/_initial.cfg}
|
||||
#define _GUI_RECRUIT_WINDOW SIDE
|
||||
[window]
|
||||
id=recruit_message_{SIDE}
|
||||
|
@ -18,15 +18,15 @@
|
|||
|
||||
definition= "default"
|
||||
|
||||
automatic_placement= "false"
|
||||
#automatic_placement= "false"
|
||||
#vertical_placement= "center"
|
||||
#horizontal_placement= "right"
|
||||
maximum_width= 800
|
||||
maximum_height= 600
|
||||
width=800
|
||||
height=600
|
||||
x=743
|
||||
y=200
|
||||
#width=700
|
||||
#height=550
|
||||
# x=743
|
||||
# y=200
|
||||
|
||||
[grid]
|
||||
|
||||
|
@ -46,15 +46,34 @@
|
|||
[row]
|
||||
[column]
|
||||
horizontal_alignment=left
|
||||
vertical_alignment=top
|
||||
vertical_alignment=bottom
|
||||
[grid]
|
||||
[row]
|
||||
|
||||
|
||||
[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]
|
||||
vertical_alignment=bottom
|
||||
definition=scaled
|
||||
id=unit_portrait
|
||||
[/image]
|
||||
[/image])}
|
||||
[/column]
|
||||
|
||||
|
||||
[column]
|
||||
horizontal_alignment=right
|
||||
|
@ -80,7 +99,8 @@
|
|||
|
||||
[row]
|
||||
[column]
|
||||
#horizontal_grow=true
|
||||
vertical_grow=false
|
||||
#horizontal_grow=false
|
||||
vertical_alignment=top
|
||||
horizontal_alignment=right
|
||||
[listbox]
|
||||
|
@ -112,7 +132,7 @@
|
|||
[/row]
|
||||
[row]
|
||||
[column]
|
||||
grow_factor=1
|
||||
#grow_factor=1
|
||||
#horizontal_grow="true"
|
||||
|
||||
border="all"
|
||||
|
@ -178,8 +198,8 @@
|
|||
[/column]
|
||||
[column]
|
||||
[spacer]
|
||||
width=280
|
||||
height=0
|
||||
#width=120
|
||||
#height=0
|
||||
|
||||
|
||||
[/spacer]
|
||||
|
|
Loading…
Add table
Reference in a new issue