[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [60680] trunk/blender/release/scripts/ modules/rna_keymap_ui.py: fix [#37038] User prefs > Input - Category names cut off
Campbell Barton
ideasman42 at gmail.com
Fri Oct 11 01:36:09 CEST 2013
Revision: 60680
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=60680
Author: campbellbarton
Date: 2013-10-10 23:36:09 +0000 (Thu, 10 Oct 2013)
Log Message:
-----------
fix [#37038] User prefs > Input - Category names cut off
Modified Paths:
--------------
trunk/blender/release/scripts/modules/rna_keymap_ui.py
Modified: trunk/blender/release/scripts/modules/rna_keymap_ui.py
===================================================================
--- trunk/blender/release/scripts/modules/rna_keymap_ui.py 2013-10-10 23:33:59 UTC (rev 60679)
+++ trunk/blender/release/scripts/modules/rna_keymap_ui.py 2013-10-10 23:36:09 UTC (rev 60680)
@@ -74,15 +74,14 @@
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:
More information about the Bf-blender-cvs
mailing list