diff options
author | William Reynish <billreynish> | 2018-09-03 19:34:02 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-09-03 20:35:25 +0300 |
commit | 544c8453d524579e008948645957df0422a7c4d0 (patch) | |
tree | b10519b2a68f5c5ff1df87b7ca83e706f6d66053 /release | |
parent | fbbadc8775173c4a911838928b00b79701c90517 (diff) |
UI: use grid flow for metadata panel.
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/startup/bl_ui/properties_render.py | 25 |
1 files changed, 15 insertions, 10 deletions
diff --git a/release/scripts/startup/bl_ui/properties_render.py b/release/scripts/startup/bl_ui/properties_render.py index e1143e0908e..64634d76d13 100644 --- a/release/scripts/startup/bl_ui/properties_render.py +++ b/release/scripts/startup/bl_ui/properties_render.py @@ -216,37 +216,42 @@ class RENDER_PT_stamp(RenderButtonsPanel, Panel): rd = context.scene.render - split = layout.split() + flow = layout.grid_flow(row_major=True, columns=0, even_columns=True, even_rows=False, align=False) + - col = split.column(align=True) + col = flow.column() col.prop(rd, "use_stamp_date", text="Date") + col = flow.column() col.prop(rd, "use_stamp_time", text="Time") - col.separator() - + col = flow.column() col.prop(rd, "use_stamp_render_time", text="Render Time") + col = flow.column() col.prop(rd, "use_stamp_frame", text="Frame") + col = flow.column() col.prop(rd, "use_stamp_frame_range", text="Frame Range") + col = flow.column() col.prop(rd, "use_stamp_memory", text="Memory") - col = split.column(align=True) + col = flow.column() col.prop(rd, "use_stamp_camera", text="Camera") + col = flow.column() col.prop(rd, "use_stamp_lens", text="Lens") - col.separator() + col = flow.column() col.prop(rd, "use_stamp_scene", text="Scene") + col = flow.column() col.prop(rd, "use_stamp_marker", text="Marker") - col.separator() - + col = flow.column() col.prop(rd, "use_stamp_filename", text="Filename") - col.separator() - + col = flow.column() col.prop(rd, "use_stamp_sequencer_strip", text="Strip Name") if rd.use_sequencer: + col = flow.column() col.prop(rd, "use_stamp_strip_meta", text="Use Strip Metadata") row = layout.split(factor=0.3) |