UI: move checkbox for missing add-ons to LHS
This commit is contained in:
@@ -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__)
|
||||
|
Reference in New Issue
Block a user