diff options
author | Campbell Barton <ideasman42@gmail.com> | 2016-03-03 10:50:15 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2016-03-03 10:50:59 +0300 |
commit | d1499ba9fb19a8f4c0f1eb861f7a65d33a54eed0 (patch) | |
tree | 2901e9688f02f504d079071e7be69dbc0a4b6a59 | |
parent | a47bfe7d4083b75212d24efb43b7d07f2d696913 (diff) |
UI: move checkbox for missing add-ons to LHS
-rw-r--r-- | release/scripts/startup/bl_ui/space_userpref.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/release/scripts/startup/bl_ui/space_userpref.py b/release/scripts/startup/bl_ui/space_userpref.py index 163458ee0fd..7b7e6904246 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__) |