diff options
author | Joshua Leung <aligorith@gmail.com> | 2016-05-08 17:04:28 +0300 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2016-05-08 17:04:28 +0300 |
commit | 491ad6664ee20efdaf9843d3275b38bdc60f5ba5 (patch) | |
tree | 369844f79e1260686fa37bbdbe8603a0fc4c4986 | |
parent | 3f934b06a6d917de74987c48d17248e4501bae94 (diff) |
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.
-rw-r--r-- | release/scripts/startup/bl_ui/properties_grease_pencil_common.py | 7 |
1 files changed, 5 insertions, 2 deletions
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") |