diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2019-01-29 13:29:43 +0100 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2019-03-04 22:17:23 +0100 |
commit | 2f8eb233b8de5a7a3a7b997734290b20bf86bd14 (patch) | |
tree | 1fbfdcc2b775df6c19bddc8cf8e0d52bed052cc0 /vcl/uiconfig | |
parent | 9671ac2dac00c21ae840cb29c2671b22ab95a7b2 (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>
Diffstat (limited to 'vcl/uiconfig')
-rw-r--r-- | vcl/uiconfig/theme_definitions/definition.xml | 11 |
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> |