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:
+29
-7
@@ -20,10 +20,32 @@ class AvatarToolkit_PT_MMDOptionsPanel(bpy.types.Panel):
|
||||
def draw(self, context: bpy.types.Context) -> None:
|
||||
layout = self.layout
|
||||
|
||||
layout.operator(AvatarToolKit_OT_CleanupMesh.bl_idname)
|
||||
layout.operator(AvatarToolKit_OT_JoinAllMeshes.bl_idname)
|
||||
layout.operator(AvatarToolKit_OT_OptimizeWeights.bl_idname)
|
||||
layout.operator(AvatarToolKit_OT_OptimizeArmature.bl_idname)
|
||||
layout.operator(AvatarToolKit_OT_ApplyTransforms.bl_idname)
|
||||
layout.operator(AvatarToolKit_OT_CombineMaterials.bl_idname)
|
||||
layout.operator(AvatarToolKit_OT_ConvertMaterials.bl_idname)
|
||||
layout.label(text=t("MMDOptions.title"), icon='OUTLINER_OB_ARMATURE')
|
||||
|
||||
layout.separator(factor=0.5)
|
||||
|
||||
col = layout.column(align=True)
|
||||
col.scale_y = 1.2
|
||||
col.operator(AvatarToolKit_OT_CleanupMesh.bl_idname, icon='BRUSH_DATA')
|
||||
col.operator(AvatarToolKit_OT_JoinAllMeshes.bl_idname, icon='OBJECT_DATAMODE')
|
||||
|
||||
layout.separator(factor=0.5)
|
||||
|
||||
col = layout.column(align=True)
|
||||
col.scale_y = 1.2
|
||||
col.operator(AvatarToolKit_OT_OptimizeWeights.bl_idname, icon='MOD_VERTEX_WEIGHT')
|
||||
col.operator(AvatarToolKit_OT_OptimizeArmature.bl_idname, icon='ARMATURE_DATA')
|
||||
|
||||
layout.separator(factor=0.5)
|
||||
|
||||
row = layout.row(align=True)
|
||||
row.scale_y = 1.2
|
||||
row.operator(AvatarToolKit_OT_ApplyTransforms.bl_idname, icon='OBJECT_ORIGIN')
|
||||
row.operator(AvatarToolKit_OT_CombineMaterials.bl_idname, icon='MATERIAL')
|
||||
|
||||
layout.separator(factor=0.5)
|
||||
|
||||
row = layout.row()
|
||||
row.scale_y = 1.2
|
||||
row.operator(AvatarToolKit_OT_ConvertMaterials.bl_idname, icon='SHADING_TEXTURE')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user