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:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user