small UI improvement
parent
c75c5469f9
commit
4dc52b1268
15
panels.py
15
panels.py
|
@ -36,19 +36,22 @@ class VSETB_PT_main(VSETB_main, Panel):
|
||||||
|
|
||||||
if settings.toogle_prefs:
|
if settings.toogle_prefs:
|
||||||
box = col.box()
|
box = col.box()
|
||||||
box.use_property_split = True
|
col = box.column(align=True)
|
||||||
box.use_property_decorate = False
|
col.use_property_split = True
|
||||||
|
col.use_property_decorate = False
|
||||||
|
|
||||||
box.prop(settings, 'project_name', text='Projects')
|
col.prop(settings, 'project_name', text='Projects')
|
||||||
|
|
||||||
if project:
|
if project:
|
||||||
if project.episodes:
|
if project.episodes:
|
||||||
box.prop(project, 'episode_name', text='Episodes')
|
col.prop(project, 'episode_name', text='Episodes')
|
||||||
|
|
||||||
box.prop(project, 'shot_template')
|
col.prop(project, 'shot_template')
|
||||||
box.operator('vse_toolbox.new_episode', text='Add Episode', icon='IMPORT')
|
col.separator()
|
||||||
|
col.operator('vse_toolbox.new_episode', text='Add Episode', icon='IMPORT')
|
||||||
|
|
||||||
# TODO FAIRE DES VRAIS OPS
|
# TODO FAIRE DES VRAIS OPS
|
||||||
|
col = layout.column()
|
||||||
row = col.row(align=True)
|
row = col.row(align=True)
|
||||||
row.operator('sequencer.import', text='Import', icon='IMPORT')
|
row.operator('sequencer.import', text='Import', icon='IMPORT')
|
||||||
row.operator('sequencer.export_csv', text='Export', icon='EXPORT')
|
row.operator('sequencer.export_csv', text='Export', icon='EXPORT')
|
||||||
|
|
|
@ -111,7 +111,7 @@ class VSETB_PGT_settings(PropertyGroup):
|
||||||
projects : CollectionProperty(type=Project)
|
projects : CollectionProperty(type=Project)
|
||||||
project_name : EnumProperty(items=get_project_items, update=update_episodes)
|
project_name : EnumProperty(items=get_project_items, update=update_episodes)
|
||||||
tracker_name : EnumProperty(items=get_tracker_items)
|
tracker_name : EnumProperty(items=get_tracker_items)
|
||||||
toogle_prefs : BoolProperty(description='Toogle VSE ToolBox Preferences')
|
toogle_prefs : BoolProperty(description='Toogle VSE ToolBox Preferences', default=True)
|
||||||
|
|
||||||
channel : EnumProperty(
|
channel : EnumProperty(
|
||||||
items=[
|
items=[
|
||||||
|
|
Loading…
Reference in New Issue