diff --git a/data/gui/default/widget/image_scaled.cfg b/data/gui/default/widget/image_scaled.cfg index a3b11aec43b..e85f0b87283 100644 --- a/data/gui/default/widget/image_scaled.cfg +++ b/data/gui/default/widget/image_scaled.cfg @@ -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]