Browse Source

Applied UI dark style improvement patch.

Lasse Öörni 12 years ago
parent
commit
8992e0a881
3 changed files with 14 additions and 10 deletions
  1. BIN
      Bin/Data/Textures/UI.png
  2. 10 10
      Bin/Data/UI/DefaultStyle.xml
  3. 4 0
      Bin/Data/UI/EditorMaterialWindow.xml

BIN
Bin/Data/Textures/UI.png


+ 10 - 10
Bin/Data/UI/DefaultStyle.xml

@@ -72,24 +72,24 @@
             <element type="Text" internal="true" />
         </element>
         <element type="Window" internal="true" popup="true">
-            <attribute name="Layout Border" value="4 4 4 4" />
+            <attribute name="Layout Border" value="2 4 2 4" />
             <element type="ListView" internal="true">
                 <attribute name="Highlight Mode" value="Always" />
                 <element type="BorderImage" internal="true">    <!-- Override scroll panel attributes from default ListView -->
-                    <attribute name="Image Rect" value="112 0 128 16" />
-                    <attribute name="Border" value="4 4 4 4" />
+                    <attribute name="Opacity" value="0" />
+                    <attribute name="Clip Border" value="2 0 2 0" />
                 </element>
             </element>
         </element>
     </element>
     <element type="LineEdit" style="BorderImage">
         <attribute name="Border" value="4 4 4 4" />
-        <attribute name="Clip Border" value="1 1 1 1" />
+        <attribute name="Clip Border" value="2 2 2 2" />
         <attribute name="Image Rect" value="64 0 80 16" />
         <attribute name="Hover Image Offset" value="0 16" />    <!-- Background color of the hover image IS the hover color of LineEdit -->
         <element type="Text" internal="true">
             <attribute name="Color" value="0.9 1 0.9 1" />
-            <attribute name="Selection Color" value="0.2 0.2 0.2 1" />
+            <attribute name="Selection Color" value="0.3 0.4 0.7 1" />
         </element>
         <element type="BorderImage" internal="true">
             <attribute name="Size" value="4 16" />
@@ -148,9 +148,9 @@
             <attribute name="Size" value="12 0" />
         </element>
         <element type="BorderImage" internal="true">
-            <attribute name="Image Rect" value="128 0 144 16" />
+            <attribute name="Image Rect" value="48 0 64 16" />
             <attribute name="Border" value="4 4 4 4" />
-            <attribute name="Clip Border" value="1 1 1 1" />
+            <attribute name="Clip Border" value="2 2 2 2" />
         </element>
     </element>
     <element type="Slider" style="BorderImage">
@@ -227,7 +227,7 @@
     </element>
     <element type="FileSelectorFilterText" style="Text" auto="false">
         <attribute name="Is Enabled" value="true" />
-        <attribute name="Selection Color" value="0.2 0.2 0.2 1" />
+        <attribute name="Selection Color" value="0.2 0.225 0.35 1" />
         <attribute name="Hover Color" value="0.3 0.4 0.7 1" />
     </element>
     <element type="FileSelectorTitleLayout" auto="false">
@@ -240,7 +240,7 @@
     </element>
     <element type="FileSelectorListText" style="Text" auto="false">
         <attribute name="Hover Color" value="0.3 0.4 0.7 1" />
-        <attribute name="Selection Color" value="0.2 0.2 0.2 1" />
+        <attribute name="Selection Color" value="0.2 0.225 0.35 1" />
     </element>
     <element type="FileSelectorTitleText" style="Text" auto="false" />
     <element type="EditorDivider" style="BorderImage" auto="false">
@@ -260,7 +260,7 @@
     </element>
     <element type="EditorEnumAttributeText" style="EditorAttributeText" auto="false">
         <attribute name="Is Enabled" value="true" />
-        <attribute name="Selection Color" value="0.2 0.2 0.2 1" />
+        <attribute name="Selection Color" value="0.2 0.225 0.35 1" />
         <attribute name="Hover Color" value="0.3 0.4 0.7 1" />
     </element>
     <element type="EditorAttributeEdit" style="LineEdit" auto="false" />

+ 4 - 0
Bin/Data/UI/EditorMaterialWindow.xml

@@ -51,6 +51,7 @@
                         <attribute name="Min Size" value="0 16" />
                         <attribute name="Max Size" value="2147483647 16" />
                         <attribute name="Layout Mode" value="Horizontal" />
+                        <attribute name="Layout Spacing" value="4" />
                         <element type="Button">
                             <attribute name="Name" value="NewTechniqueButton" />
                             <attribute name="Layout Mode" value="Horizontal" />
@@ -103,6 +104,7 @@
                         <attribute name="Min Size" value="0 17" />
                         <attribute name="Max Size" value="2147483647 17" />
                         <attribute name="Layout Mode" value="Horizontal" />
+                        <attribute name="Layout Spacing" value="4" />
                         <element type="LineEdit">
                             <attribute name="Name" value="ParameterNameEdit" />
                         </element>
@@ -239,6 +241,7 @@
         <attribute name="Min Size" value="0 16" />
         <attribute name="Max Size" value="2147483647 16" />
         <attribute name="Layout Mode" value="Horizontal" />
+        <attribute name="Layout Spacing" value="4" />
         <element type="Button">
             <attribute name="Name" value="NewButton" />
             <attribute name="Layout Mode" value="Horizontal" />
@@ -276,4 +279,5 @@
             </element>
         </element>
     </element>
+    <element type="BorderImage" style="EditorDivider" />
 </element>