Ui Cleanup

UI Is starting to look much better. I added more spacing and re-arrange parts of the UI, icons have been added and overall is starting to look much better and more user Friendly.
This commit is contained in:
Yusarina
2024-09-27 23:39:34 +01:00
parent 65526bc6af
commit 2684b89bef
7 changed files with 143 additions and 59 deletions
+10 -4
View File
@@ -24,16 +24,22 @@ class AvatarToolkit_PT_OptimizationPanel(bpy.types.Panel):
if armature:
layout.label(text=t("Optimization.options.label"), icon='SETTINGS')
row = layout.row()
layout.separator(factor=0.5)
row = layout.row(align=True)
row.scale_y = 1.2
row.operator(AvatarToolKit_OT_CombineMaterials.bl_idname, text=t("Optimization.combine_materials.label"), icon='MATERIAL')
layout.separator(factor=0.5)
row = layout.row(align=True)
row.scale_y = 1.2
row.operator(AvatarToolKit_OT_RemoveDoublesSafely.bl_idname, text=t("Optimization.remove_doubles_safely.label"), icon='SNAP_VERTEX')
row.operator(AvatarToolKit_OT_RemoveDoublesSafelyAdvanced.bl_idname, text=t("Optimization.remove_doubles_safely_advanced.label"), icon = "ACTION")
layout.separator(factor=0.5)
row.operator(AvatarToolKit_OT_RemoveDoublesSafelyAdvanced.bl_idname, text=t("Optimization.remove_doubles_safely_advanced.label"), icon="ACTION")
layout.label(text=t("Optimization.joinmeshes.label"), icon='SETTINGS')
layout.separator(factor=1.0)
layout.label(text=t("Optimization.joinmeshes.label"), icon='OBJECT_DATA')
row = layout.row(align=True)
row.scale_y = 1.2
row.operator(AvatarToolKit_OT_JoinAllMeshes.bl_idname, text=t("Optimization.join_all_meshes.label"), icon='OUTLINER_OB_MESH')