diff options
author | Thorbjørn Lindeijer <bjorn@lindeijer.nl> | 2025-03-24 21:24:19 +0100 |
---|---|---|
committer | Thorbjørn Lindeijer <bjorn@lindeijer.nl> | 2025-03-24 21:24:19 +0100 |
commit | 2739d3cface75a5477918ce03bd2f85b3244fe1a (patch) | |
tree | e3972d9a6c5eb1d0ddfdb73038055547b9291233 /data | |
parent | c600e0fae271ed25d066b01149fbc148295edde8 (diff) | |
download | mana-2739d3cface75a5477918ce03bd2f85b3244fe1a.tar.gz mana-2739d3cface75a5477918ce03bd2f85b3244fe1a.tar.bz2 mana-2739d3cface75a5477918ce03bd2f85b3244fe1a.tar.xz mana-2739d3cface75a5477918ce03bd2f85b3244fe1a.zip |
Added fill mode parameter to ImageRect
ImageRect now stretches the sides and center images by default because
this is more efficient these days. FilMode::Repeat can be specified when
repetition is desired.
Added 'fill' attribute to allow the fill mode to be specified for the
GUI theme images.
Diffstat (limited to 'data')
-rw-r--r-- | data/graphics/gui/theme.xml | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/data/graphics/gui/theme.xml b/data/graphics/gui/theme.xml index 047ef01c..6656f770 100644 --- a/data/graphics/gui/theme.xml +++ b/data/graphics/gui/theme.xml @@ -51,7 +51,7 @@ <skin type="Window" frameSize="0" padding="3" titleBarHeight="20"> <state> - <img src="window.png" left="4" right="4" top="4" bottom="4" /> + <img src="window.png" left="4" right="4" top="4" bottom="4" fill="repeat" /> </state> </skin> <skin type="ResizeGrip" padding="2"> @@ -61,7 +61,7 @@ </skin> <skin type="Popup" padding="6"> <state> - <img src="window.png" left="4" right="4" top="4" bottom="4" /> + <img src="window.png" left="4" right="4" top="4" bottom="4" fill="repeat" /> </state> </skin> <skin type="SpeechBubble"> @@ -169,23 +169,23 @@ </skin> <skin type="ScrollAreaHMarker"> <state hovered="true"> - <img src="vscroll_highlight.png" left="4" right="4" top="4" bottom="4" /> + <img src="vscroll_highlight.png" left="4" right="4" top="4" bottom="4" fill="repeat" /> </state> <state> - <img src="vscroll_grey.png" left="4" right="4" top="4" bottom="4" /> + <img src="vscroll_grey.png" left="4" right="4" top="4" bottom="4" fill="repeat" /> </state> </skin> <skin type="ScrollAreaVMarker"> <state hovered="true"> - <img src="vscroll_highlight.png" left="4" right="4" top="4" bottom="4" /> + <img src="vscroll_highlight.png" left="4" right="4" top="4" bottom="4" fill="repeat" /> </state> <state> - <img src="vscroll_grey.png" left="4" right="4" top="4" bottom="4" /> + <img src="vscroll_grey.png" left="4" right="4" top="4" bottom="4" fill="repeat" /> </state> </skin> <skin type="ProgressBar"> <state> - <img src="vscroll_grey.png" left="4" right="4" top="4" bottom="4" /> + <img src="vscroll_grey.png" left="4" right="4" top="4" bottom="4" fill="repeat" /> </state> </skin> <skin type="Slider"> |