summaryrefslogtreecommitdiff
path: root/vcl/uiconfig/theme_definitions
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2019-01-29 13:29:43 +0100
committerTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2019-08-29 20:10:47 +0900
commitbf85e8c94daf3073128168d131edb930ce05eace (patch)
tree56e9262e3d53e60e2013e7de6aa4eb78ee057e70 /vcl/uiconfig/theme_definitions
parentdc8059d9ca1d7fc0ea241df73c16bb2a2bf2cce5 (diff)
remove margin param. and replace it with a relative "rectangle"
Relative rectangle - x1, y1, x2, y2 with valid values in the range between 0.0 and 1.0, where 0, 0 is top left corner and 1, 1 is the bottom right corner of the control rectangle. Change-Id: I2b782a43e91328cf43dc0722e50c55414fb3e867 Reviewed-on: https://gerrit.libreoffice.org/68691 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> (cherry picked from commit 2f8eb233b8de5a7a3a7b997734290b20bf86bd14)
Diffstat (limited to 'vcl/uiconfig/theme_definitions')
-rw-r--r--vcl/uiconfig/theme_definitions/definition.xml11
1 files changed, 5 insertions, 6 deletions
diff --git a/vcl/uiconfig/theme_definitions/definition.xml b/vcl/uiconfig/theme_definitions/definition.xml
index 91c473f290a6..0fdbdb659683 100644
--- a/vcl/uiconfig/theme_definitions/definition.xml
+++ b/vcl/uiconfig/theme_definitions/definition.xml
@@ -57,11 +57,10 @@
<pushbutton>
<part value="Entire">
<state enabled="any" focused="any" pressed="any" rollover="any" default="any" selected="any" button-value="any">
- <rect stroke="#007AFF" fill="#FFFFFF" stroke-width="1" rx="5" ry="5" margin="0"/>
+ <rect stroke="#007AFF" fill="#FFFFFF" stroke-width="1" rx="7" ry="7" />
</state>
-
<state enabled="true" focused="any" pressed="any" rollover="true" default="any" selected="any" button-value="any">
- <rect stroke="#007AFF" fill="#007AFF" stroke-width="1" rx="5" ry="5" margin="0"/>
+ <rect stroke="#007AFF" fill="#007AFF" stroke-width="1" rx="7" ry="7" />
</state>
</part>
</pushbutton>
@@ -69,11 +68,11 @@
<radiobutton>
<part value="Entire">
<state enabled="any" focused="any" pressed="any" rollover="any" default="any" selected="any" button-value="false">
- <circ stroke="#007AFF" fill="#FFFFFF" stroke-width="1" margin="0"/>
+ <circ stroke="#007AFF" fill="#FFFFFF" stroke-width="1" />
</state>
<state enabled="any" focused="any" pressed="any" rollover="any" default="any" selected="any" button-value="true">
- <circ stroke="#007AFF" fill="#FFFFFF" stroke-width="1" margin="0"/>
- <circ stroke="#007AFF" fill="#007AFF" stroke-width="1" margin="3"/>
+ <circ stroke="#007AFF" fill="#FFFFFF" stroke-width="1" />
+ <circ stroke="#007AFF" fill="#007AFF" stroke-width="1" x1="0.1" y1="0.1" x2="0.9" y2="0.9"/>
</state>
</part>
</radiobutton>