微调编辑器布局,Setting选单放在最前
This commit is contained in:
parent
4e9ad60aad
commit
7cb3596c4e
@ -12,7 +12,7 @@ namespace VersionFlow.Editors
|
|||||||
private Editor m_settingEditor;
|
private Editor m_settingEditor;
|
||||||
private Vector2 m_builderEditorScroll;
|
private Vector2 m_builderEditorScroll;
|
||||||
|
|
||||||
[MenuItem("VersionFlow/Setting")]
|
[MenuItem("VersionFlow/Setting", priority = int.MinValue)]
|
||||||
static void Open()
|
static void Open()
|
||||||
{
|
{
|
||||||
var wnd = EditorWindow.GetWindow<VersionFlowSettingWnd>();
|
var wnd = EditorWindow.GetWindow<VersionFlowSettingWnd>();
|
||||||
@ -35,7 +35,7 @@ namespace VersionFlow.Editors
|
|||||||
{
|
{
|
||||||
EditorGUILayout.BeginHorizontal();
|
EditorGUILayout.BeginHorizontal();
|
||||||
{
|
{
|
||||||
EditorGUILayout.BeginVertical(GUILayout.Width(200));
|
EditorGUILayout.BeginVertical(new GUIStyle { padding = new RectOffset(2, 0, 2, 2) }, GUILayout.Width(200));
|
||||||
{
|
{
|
||||||
DrawEditorTabRegion();
|
DrawEditorTabRegion();
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user