summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-10-17 18:31:26 +0300
committerAndrei Karas <akaras@inbox.ru>2012-10-17 18:31:26 +0300
commit3ae7d2eff3d20c3042ddac4fd4f205812079b94e (patch)
treef4fb1bc99383c05457e1958e4c825e285f2097ab /data
parentd0827ddf1686bdb97fab96f9f26dc95388919011 (diff)
downloadmv-3ae7d2eff3d20c3042ddac4fd4f205812079b94e.tar.gz
mv-3ae7d2eff3d20c3042ddac4fd4f205812079b94e.tar.bz2
mv-3ae7d2eff3d20c3042ddac4fd4f205812079b94e.tar.xz
mv-3ae7d2eff3d20c3042ddac4fd4f205812079b94e.zip
Extend checkbox theming.
New options: padding - padding from all sides except left imagePadding - padding from left before image imageSize - image size for computation width spacing - space between image and text width = imagePadding + imageSize + spacing + text width + padding height = padding + text height + padding
Diffstat (limited to 'data')
-rw-r--r--data/graphics/gui/checkbox.xml5
1 files changed, 5 insertions, 0 deletions
diff --git a/data/graphics/gui/checkbox.xml b/data/graphics/gui/checkbox.xml
index 7e6161bb0..456c26366 100644
--- a/data/graphics/gui/checkbox.xml
+++ b/data/graphics/gui/checkbox.xml
@@ -1,5 +1,10 @@
<skinset name="Default" image="window.png">
<widget type="Window" xpos="190" ypos="0">
+ <option name="padding" value="0" />
+ <option name="imagePadding" value="0" />
+ <option name="imageSize" value="9" />
+ <option name="spacing" value="2" />
+
<part type="normal" xpos="0" ypos="0" width="9" height="9" />
<part type="checked" xpos="9" ypos="0" width="9" height="9" />
<part type="disabled" xpos="18" ypos="0" width="9" height="9" />