UI: show keyconfig prefs directly under preset

The keyconfig preset and it's preferences were too far apart,
show the preferences under the preset in a collapsible box.
This commit is contained in:
2018-11-20 09:15:53 +11:00
parent f0b5a9da01
commit 5f9de429ac
6 changed files with 60 additions and 33 deletions

View File

@@ -55,11 +55,12 @@ class Prefs(bpy.types.KeyConfigPreferences):
)
def draw(self, layout):
col = layout.column(align=True)
split = layout.split()
col = split.column(align=True)
col.label(text="Select With:")
col.row().prop(self, "select_mouse", expand=True)
col = layout.column(align=True)
col = split.column(align=True)
col.label(text="Spacebar Action:")
col.row().prop(self, "spacebar_action", expand=True)