UI: Remove Decorators from Keymap Preferences
Improvements to the layout of the Keymaps section of Preferences by removing unneeded Decorator columns. Differential Revision: https://developer.blender.org/D9726 Reviewed by Hans Goudey
This commit is contained in:
parent
cc6ec71b19
commit
a88e6261db
|
@ -168,6 +168,7 @@ class Prefs(bpy.types.KeyConfigPreferences):
|
|||
|
||||
def draw(self, layout):
|
||||
layout.use_property_split = True
|
||||
layout.use_property_decorate = False
|
||||
|
||||
is_select_left = (self.select_mouse == 'LEFT')
|
||||
|
||||
|
|
|
@ -33,11 +33,11 @@ class Prefs(bpy.types.KeyConfigPreferences):
|
|||
)
|
||||
|
||||
def draw(self, layout):
|
||||
split = layout.split()
|
||||
col = split.column()
|
||||
col.label(text="Select With:")
|
||||
col.row().prop(self, "select_mouse", expand=True)
|
||||
split.column()
|
||||
layout.use_property_split = True
|
||||
layout.use_property_decorate = False
|
||||
|
||||
col = layout.column()
|
||||
col.row().prop(self, "select_mouse", text="Select with Mouse Button", expand=True)
|
||||
|
||||
|
||||
blender_default = bpy.utils.execfile(os.path.join(DIRNAME, "keymap_data", "blender_default.py"))
|
||||
|
|
Loading…
Reference in New Issue