Browse Source

Fix Panel ListView hover/focus rect image rect.

Convert UI.png back to PNG8 format (8-bit colormap, non-interlaced).
Correct sample material path.
Yao Wei Tjong 姚伟忠 12 years ago
parent
commit
ff0094a2a7
3 changed files with 1 additions and 0 deletions
  1. 0 0
      Bin/Data/Materials/UrhoDecalAlpha.xml
  2. BIN
      Bin/Data/Textures/UI.png
  3. 1 0
      Bin/Data/UI/DefaultStyle.xml

+ 0 - 0
bin/Data/Materials/UrhoDecalAlpha.xml → Bin/Data/Materials/UrhoDecalAlpha.xml


BIN
Bin/Data/Textures/UI.png


+ 1 - 0
Bin/Data/UI/DefaultStyle.xml

@@ -185,6 +185,7 @@
     <element type="PanelView" style="ListView" auto="false">    <!-- todo: rename this to PanelListView -->
         <element type="BorderImage" internal="true">
             <attribute name="Image Rect" value="48 16 64 32" />
+            <attribute name="Hover Image Offset" value="16 0" />
             <element internal="true">
                 <attribute name="Layout Spacing" value="4" />
                 <attribute name="Layout Border" value="4 4 4 4" />