Browse Source

Editor skin tweak

Josh Engebretson 10 years ago
parent
commit
244cf447f1

+ 6 - 0
Resources/EditorData/AtomicEditor/editor/skin/skin.tb.txt

@@ -168,7 +168,13 @@ elements
 		min-width 140
 		min-width 140
 		max-width 140
 		max-width 140
 
 
+	InspectorVectorAttrName
+		text-color #aaaaaa
+		min-width 140
+		max-width 140		
+
 	InspectorTextAttrName
 	InspectorTextAttrName
+		padding 4
 		text-color #aaaaaa
 		text-color #aaaaaa
 		min-width 140
 		min-width 140
 		max-width 140
 		max-width 140

+ 1 - 1
Script/AtomicEditor/ui/inspector/DataBinding.ts

@@ -97,7 +97,7 @@ class DataBinding {
                 var select = new Atomic.UIInlineSelect();
                 var select = new Atomic.UIInlineSelect();
                 select.id = String(i + 1);
                 select.id = String(i + 1);
                 select.fontDescription = fd;
                 select.fontDescription = fd;
-                select.skinBg = "InspectorTextAttrName";
+                select.skinBg = "InspectorVectorAttrName";
                 select.setLimits(-10000000, 10000000);
                 select.setLimits(-10000000, 10000000);
                 var editlp = new Atomic.UILayoutParams();
                 var editlp = new Atomic.UILayoutParams();
                 editlp.minWidth = 60;
                 editlp.minWidth = 60;