mirror of
https://github.com/Siccity/xNode.git
synced 2026-03-26 22:49:02 +08:00
Styles: Derive baseStyle from EditorStyles.label
This commit is contained in:
parent
bcfe139024
commit
7487878adb
@ -21,7 +21,7 @@ namespace XNodeEditor {
|
|||||||
public GUIStyle inputPort, nodeHeader, nodeBody, tooltip, nodeHighlight, nodeProperty;
|
public GUIStyle inputPort, nodeHeader, nodeBody, tooltip, nodeHighlight, nodeProperty;
|
||||||
|
|
||||||
public Styles() {
|
public Styles() {
|
||||||
GUIStyle baseStyle = new GUIStyle("Label");
|
GUIStyle baseStyle = new GUIStyle(EditorStyles.label);
|
||||||
baseStyle.fixedHeight = 18;
|
baseStyle.fixedHeight = 18;
|
||||||
|
|
||||||
inputPort = new GUIStyle(baseStyle);
|
inputPort = new GUIStyle(baseStyle);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user