summaryrefslogtreecommitdiff
path: root/vcl/uiconfig
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2019-03-10 22:26:42 +0100
committerTomaž Vajngerl <quikee@gmail.com>2019-03-11 08:11:52 +0100
commit5d535ffbe34b09a75f8e41fc46be1ed0eb1fbdfa (patch)
tree7762f6eb9cbfa30f0c7f7c356d2c050fd288fd38 /vcl/uiconfig
parentf011a01d4b1fc6fd9cdd4178dd2651a51cd897dc (diff)
widget theme: support disabled pushbutton
Change-Id: I8c6e019f5d1f12c85334f3440e09ef755ed6863d Reviewed-on: https://gerrit.libreoffice.org/69022 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'vcl/uiconfig')
-rw-r--r--vcl/uiconfig/theme_definitions/definition.xml5
-rw-r--r--vcl/uiconfig/theme_definitions/pushbutton-disabled.svgx3
2 files changed, 7 insertions, 1 deletions
diff --git a/vcl/uiconfig/theme_definitions/definition.xml b/vcl/uiconfig/theme_definitions/definition.xml
index 4789b9a844ed..a4394de98ec5 100644
--- a/vcl/uiconfig/theme_definitions/definition.xml
+++ b/vcl/uiconfig/theme_definitions/definition.xml
@@ -67,12 +67,15 @@
<pushbutton>
<part value="Entire">
- <state>
+ <state enabled="true">
<external source="pushbutton-default.svgx" />
</state>
<state enabled="true" rollover="true">
<external source="pushbutton-rollover.svgx" />
</state>
+ <state enabled="false">
+ <external source="pushbutton-disabled.svgx" />
+ </state>
</part>
</pushbutton>
diff --git a/vcl/uiconfig/theme_definitions/pushbutton-disabled.svgx b/vcl/uiconfig/theme_definitions/pushbutton-disabled.svgx
new file mode 100644
index 000000000000..e4c1f63599d7
--- /dev/null
+++ b/vcl/uiconfig/theme_definitions/pushbutton-disabled.svgx
@@ -0,0 +1,3 @@
+<svg version="1.1" viewBox="0 0 44 26" xmlns="http://www.w3.org/2000/svg">
+ <rect x=".5" y=".5" width="43" height="25" rx="2" ry="2" fill="#fff" stroke="#8e8e93"/>
+</svg>