fix [#37038] User prefs > Input - Category names cut off
This commit is contained in:
@@ -74,15 +74,14 @@ def draw_km(display_keymaps, kc, km, children, layout, level):
|
||||
row.prop(km, "show_expanded_children", text="", emboss=False)
|
||||
row.label(text=km.name, text_ctxt=i18n_contexts.id_windowmanager)
|
||||
|
||||
row.label()
|
||||
row.label()
|
||||
subrow = row.row()
|
||||
subrow.alignment = 'RIGHT'
|
||||
|
||||
if km.is_modal:
|
||||
row.label(text="", icon='LINKED')
|
||||
if km.is_user_modified:
|
||||
row.operator("wm.keymap_restore", text="Restore")
|
||||
else:
|
||||
row.label()
|
||||
subrow.operator("wm.keymap_restore", text="Restore")
|
||||
if km.is_modal:
|
||||
subrow.label(text="", icon='LINKED')
|
||||
del subrow
|
||||
|
||||
if km.show_expanded_children:
|
||||
if children:
|
||||
|
Reference in New Issue
Block a user