[Libreoffice-commits] core.git: vcl/uiconfig

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Sun Mar 10 20:25:10 UTC 2019


 vcl/uiconfig/theme_definitions/definition.xml |   28 +++++++++++++-------------
 1 file changed, 14 insertions(+), 14 deletions(-)

New commits:
commit cdabde598e9569b9427b70d616e50f22daa1bb61
Author:     Tomaž Vajngerl <tomaz.vajngerl at collabora.co.uk>
AuthorDate: Sun Mar 10 17:24:00 2019 +0100
Commit:     Tomaž Vajngerl <quikee at gmail.com>
CommitDate: Sun Mar 10 21:24:46 2019 +0100

    widget theme: toolbar drawing definition - separator, buttons
    
    Change-Id: Ic8574c0f0c3c51526254c34d820977a0fbb520a0
    Reviewed-on: https://gerrit.libreoffice.org/69011
    Tested-by: Jenkins
    Reviewed-by: Tomaž Vajngerl <quikee at gmail.com>

diff --git a/vcl/uiconfig/theme_definitions/definition.xml b/vcl/uiconfig/theme_definitions/definition.xml
index 0a6f696320b5..027b78e5fd6e 100644
--- a/vcl/uiconfig/theme_definitions/definition.xml
+++ b/vcl/uiconfig/theme_definitions/definition.xml
@@ -191,12 +191,10 @@
 
     <spinbox>
         <part value="Entire">
-            <state>
-            </state>
+            <state/> <!-- Intentional empty - don't draw anything -->
         </part>
         <part value="SubEdit">
-            <state>
-            </state>
+            <state/> <!-- Intentional empty - don't draw anything -->
         </part>
         <part value="ButtonDown" width="44" height="26">
             <state enabled="true">
@@ -395,32 +393,34 @@
         </part>
 
         <part value="ThumbHorz">
-            <state>
-                <rect stroke="#00FFFF" fill="#00FFFF" stroke-width="1" rx="1" ry="1"/>
-            </state>
+            <state/> <!-- Intentional empty - don't draw anything -->
         </part>
 
         <part value="ThumbVert">
-            <state>
-                <rect stroke="#00FFFF" fill="#00FFFF" stroke-width="1" rx="1" ry="1"/>
-            </state>
+            <state/> <!-- Intentional empty - don't draw anything -->
         </part>
 
         <part value="SeparatorVert">
             <state>
-                <rect stroke="#00FFFF" fill="#00FFFF" stroke-width="1" rx="1" ry="1"/>
+                <line stroke="#007AFF" fill="#007AFF" stroke-width="2" x1="0.5" y1="0.0" x2="0.5" y2="1.0"/>
             </state>
         </part>
 
         <part value="SeparatorHorz">
             <state>
-                <rect stroke="#00FFFF" fill="#00FFFF" stroke-width="1" rx="1" ry="1"/>
+                <line stroke="#007AFF" fill="#007AFF" stroke-width="2" x1="0.0" y1="0.5" x2="1.0" y2="0.5"/>
             </state>
         </part>
 
         <part value="Button">
-             <state>
-                <rect stroke="#00FFFF" fill="#00FFFF" stroke-width="1" rx="1" ry="1"/>
+            <state enabled="true" button-value="true">
+                <rect stroke="#c0c0c0" fill="#c0c0c0" stroke-width="1" rx="4" ry="4"/>
+            </state>
+            <state enabled="true" button-value="false">
+                <rect stroke="#f4f5f5" fill="#f4f5f5" stroke-width="1" rx="4" ry="4"/>
+            </state>
+            <state enabled="false">
+                <rect stroke="#007AFF" fill="#00FF00" stroke-width="1" rx="4" ry="4"/>
             </state>
         </part>
     </toolbar>


More information about the Libreoffice-commits mailing list