Tweak to GPencil layers UI layout

I'm still not happy with this layout as it is now, but it seems a bit less unbalanced
than what I'd been trying before. So, let's leave this as-is for now.
This commit is contained in:
Joshua Leung
2016-05-09 02:04:28 +12:00
parent 3f934b06a6
commit 491ad6664e

View File

@@ -570,15 +570,18 @@ class GreasePencilDataPanel:
col.prop(gpl, "fill_alpha", text="Opacity", slider=True)
# Options
col = layout.column(align=True)
col.active = not gpl.lock
col.prop(gpl, "line_width", slider=True)
split = layout.split(percentage=0.5)
split.active = not gpl.lock
col = split.column(align=True)
col.prop(gpl, "line_width", slider=True)
col.prop(gpl, "use_volumetric_strokes")
col.prop(gpl, "show_points", text="Points")
col = split.column(align=True)
col.prop(gpl, "use_hq_fill")
col.prop(gpl, "show_x_ray")