[Bf-blender-cvs] [d1499ba] master: UI: move checkbox for missing add-ons to LHS

Campbell Barton noreply at git.blender.org
Thu Mar 3 08:58:55 CET 2016


Commit: d1499ba9fb19a8f4c0f1eb861f7a65d33a54eed0
Author: Campbell Barton
Date:   Thu Mar 3 18:50:15 2016 +1100
Branches: master
https://developer.blender.org/rBd1499ba9fb19a8f4c0f1eb861f7a65d33a54eed0

UI: move checkbox for missing add-ons to LHS

===================================================================

M	release/scripts/startup/bl_ui/space_userpref.py

===================================================================

diff --git a/release/scripts/startup/bl_ui/space_userpref.py b/release/scripts/startup/bl_ui/space_userpref.py
index 163458e..7b7e690 100644
--- a/release/scripts/startup/bl_ui/space_userpref.py
+++ b/release/scripts/startup/bl_ui/space_userpref.py
@@ -1456,12 +1456,15 @@ class USERPREF_PT_addons(Panel):
                 # Addon UI Code
                 box = col.column().box()
                 colsub = box.column()
-                row = colsub.row()
+                row = colsub.row(align=True)
 
-                row.label(text=module_name, translate=False, icon='ERROR')
+                row.label(text="", icon='ERROR')
 
                 if is_enabled:
                     row.operator("wm.addon_disable", icon='CHECKBOX_HLT', text="", emboss=False).module = module_name
 
+                row.label(text=module_name, translate=False)
+
+
 if __name__ == "__main__":  # only for live edit.
     bpy.utils.register_module(__name__)




More information about the Bf-blender-cvs mailing list