generated from stilobique/BlenderTemplate
Tweak the UI
This commit is contained in:
+10
-10
@@ -11,19 +11,19 @@ class GRAOU_PT_panel(bpy.types.Panel):
|
|||||||
def draw(self, context):
|
def draw(self, context):
|
||||||
layout = self.layout
|
layout = self.layout
|
||||||
|
|
||||||
layout.use_property_split = True
|
col = layout.column(align=True)
|
||||||
layout.use_property_decorate = False
|
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)
|
layout.separator()
|
||||||
row.label(text='Main Config:')
|
|
||||||
layout.operator('graou.build_scene', text='Init Scene', icon='OUTLINER')
|
|
||||||
|
|
||||||
row = layout.row(align=False)
|
layout.label(text='Asset:')
|
||||||
row.label(text='Asset:')
|
layout.operator('graou.make_collision', text='Generate collision', icon='MOD_PHYSICS')
|
||||||
layout.operator('graou.make_collision', text='Make all collision', icon='MOD_PHYSICS')
|
|
||||||
|
|
||||||
row = layout.row(align=True)
|
layout.separator()
|
||||||
row.label(text='Export scene:')
|
|
||||||
|
layout.label(text='Export scene:')
|
||||||
box = layout.box()
|
box = layout.box()
|
||||||
box.label(text='Sanity Check')
|
box.label(text='Sanity Check')
|
||||||
layout.operator('graou.building_export', text='Export all assets', icon='EXPORT')
|
layout.operator('graou.building_export', text='Export all assets', icon='EXPORT')
|
||||||
|
|||||||
Reference in New Issue
Block a user