UI: move checkbox for missing add-ons to LHS
authorCampbell Barton <ideasman42@gmail.com>
Thu, 3 Mar 2016 07:50:15 +0000 (18:50 +1100)
committerCampbell Barton <ideasman42@gmail.com>
Thu, 3 Mar 2016 07:50:59 +0000 (18:50 +1100)
release/scripts/startup/bl_ui/space_userpref.py

index 163458ee0fd186a6b4207d50fcc959d70c53b088..7b7e6904246150597e73341e1b63d1563b117992 100644 (file)
@@ -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__)