浏览代码
Updated styling to look like Hugo's mockup + fixes
Updated styling to look like Hugo's mockup + fixes
- HeaderDrawer now extends from DataWatchContainer rather than GraphElement (don’t do the latter for things that are inside nodes)/main
Peter Bay Bastian
8 年前
当前提交
780c7cc1
共有 7 个文件被更改,包括 136 次插入 和 89 次删除
-
51MaterialGraphProject/Assets/GraphFramework/SerializableGraph/Editor/Drawing/Drawer/HeaderDrawer.cs
-
92MaterialGraphProject/Assets/GraphFramework/SerializableGraph/Editor/Drawing/Drawer/NodeDrawer.cs
-
1MaterialGraphProject/Assets/GraphFramework/SerializableGraph/Editor/Drawing/SerializableGraphView.cs
-
23MaterialGraphProject/Assets/GraphFramework/SerializableGraph/Editor/Drawing/Styles/Header.uss
-
50MaterialGraphProject/Assets/GraphFramework/SerializableGraph/Editor/Drawing/Styles/SerializableGraph.uss
-
2MaterialGraphProject/Assets/UnityShaderEditor/Editor/Drawing/Drawer/MaterialNodeDrawer.cs
-
6MaterialGraphProject/Assets/UnityShaderEditor/Editor/Drawing/Styles/MaterialGraph.uss
|
|||
HeaderDrawer { |
|||
flex-direction: row; |
|||
align-items: stretch; |
|||
justify-content: space-between; |
|||
padding-left: 5; |
|||
padding-right: 5; |
|||
padding-top: 5; |
|||
padding-bottom: 5; |
|||
|
|||
flex: 2; |
|||
width: 200; |
|||
text-alignment: middle-center; |
|||
text-alignment: middle-left; |
|||
font-size: 12; |
|||
font-style: bold; |
|||
text-color: #FFFFFF; |
|||
position-type: absolute; |
|||
position-top: 0; |
|||
position-left: 5; |
|||
width: 10; |
|||
text-alignment: middle-center; |
|||
height: 14; |
|||
flex: 1; |
|||
text-color: rgb(153, 153, 153); |
|||
text-alignment: middle-right; |
|||
} |
撰写
预览
正在加载...
取消
保存
Reference in new issue