Switched to scalled images, still not working.
This commit is contained in:
parent
b530b9df42
commit
f4db8534b7
1 changed files with 25 additions and 17 deletions
|
@ -4,33 +4,41 @@
|
|||
###
|
||||
{gui/default/macros/_initial.cfg}
|
||||
[image_definition]
|
||||
id = "scaled"
|
||||
description = "an image, scaled depending on resolution."
|
||||
id = "scaled"
|
||||
description = "an image, scaled depending on resolution."
|
||||
|
||||
[resolution]
|
||||
[resolution]
|
||||
|
||||
min_width = 250 #"{__GUI_IMAGE_DISPLAYED_WIDTH}"
|
||||
min_height = 250 #"{__GUI_IMAGE_DISPLAYED_HEIGHT}"
|
||||
#min_width = 250 #"{__GUI_IMAGE_DISPLAYED_WIDTH}"
|
||||
#min_height = 250 #"{__GUI_IMAGE_DISPLAYED_HEIGHT}"
|
||||
|
||||
default_width = 250 #"{__GUI_IMAGE_DISPLAYED_WIDTH}"
|
||||
default_height = 250 #"{__GUI_IMAGE_DISPLAYED_HEIGHT}"
|
||||
#w=250
|
||||
#h=250
|
||||
|
||||
max_width = 250 #"{__GUI_IMAGE_DISPLAYED_WIDTH}"
|
||||
max_height = 250 #"{__GUI_IMAGE_DISPLAYED_HEIGHT}"
|
||||
# default_width = 250 #"{__GUI_IMAGE_DISPLAYED_WIDTH}"
|
||||
# default_height = 250 #"{__GUI_IMAGE_DISPLAYED_HEIGHT}"
|
||||
|
||||
[state_enabled]
|
||||
# max_width = 250 #"{__GUI_IMAGE_DISPLAYED_WIDTH}"
|
||||
# max_height = 250 #"{__GUI_IMAGE_DISPLAYED_HEIGHT}"
|
||||
|
||||
[draw]
|
||||
[state_enabled]
|
||||
|
||||
[image]
|
||||
name = "(text)"
|
||||
[/image]
|
||||
[draw]
|
||||
|
||||
[/draw]
|
||||
[image]
|
||||
w="{__GUI_IMAGE_DISPLAYED_WIDTH}"
|
||||
h="{__GUI_IMAGE_DISPLAYED_HEIGHT}"
|
||||
vertical_alignment=bottom
|
||||
#w=250
|
||||
#h=250
|
||||
name = "(text)"
|
||||
[/image]
|
||||
|
||||
[/state_enabled]
|
||||
[/draw]
|
||||
|
||||
[/resolution]
|
||||
[/state_enabled]
|
||||
|
||||
[/resolution]
|
||||
|
||||
[/image_definition]
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue