From 491ad6664ee20efdaf9843d3275b38bdc60f5ba5 Mon Sep 17 00:00:00 2001 From: Joshua Leung Date: Mon, 9 May 2016 02:04:28 +1200 Subject: 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. --- release/scripts/startup/bl_ui/properties_grease_pencil_common.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'release/scripts/startup/bl_ui/properties_grease_pencil_common.py') diff --git a/release/scripts/startup/bl_ui/properties_grease_pencil_common.py b/release/scripts/startup/bl_ui/properties_grease_pencil_common.py index 698a9f53119..a823789f2c3 100644 --- a/release/scripts/startup/bl_ui/properties_grease_pencil_common.py +++ b/release/scripts/startup/bl_ui/properties_grease_pencil_common.py @@ -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") -- cgit v1.2.3