From f4db8534b72e6d4a2b9cc223ab08540b774443e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabian=20M=C3=BCller?= Date: Sat, 5 Mar 2011 16:34:34 +0000 Subject: [PATCH] Switched to scalled images, still not working. --- data/gui/default/widget/image_scaled.cfg | 42 ++++++++++++++---------- 1 file changed, 25 insertions(+), 17 deletions(-) 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]