Tweak the UI

This commit is contained in:
2024-05-13 23:17:33 +02:00
parent 7418be4196
commit 61e3bcaaf3
+10 -10
View File
@@ -11,19 +11,19 @@ class GRAOU_PT_panel(bpy.types.Panel):
def draw(self, context):
layout = self.layout
layout.use_property_split = True
layout.use_property_decorate = False
col = layout.column(align=True)
col.label(text='Main Config:')
col.operator('graou.build_scene', text='Init Scene', icon='OUTLINER')
col.prop(context.scene.graou_props, 'socket_collection', text='Use socket', toggle=True)
row = layout.row(align=False)
row.label(text='Main Config:')
layout.operator('graou.build_scene', text='Init Scene', icon='OUTLINER')
layout.separator()
row = layout.row(align=False)
row.label(text='Asset:')
layout.operator('graou.make_collision', text='Make all collision', icon='MOD_PHYSICS')
layout.label(text='Asset:')
layout.operator('graou.make_collision', text='Generate collision', icon='MOD_PHYSICS')
row = layout.row(align=True)
row.label(text='Export scene:')
layout.separator()
layout.label(text='Export scene:')
box = layout.box()
box.label(text='Sanity Check')
layout.operator('graou.building_export', text='Export all assets', icon='EXPORT')