Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Leung <aligorith@gmail.com>2016-05-08 17:04:28 +0300
committerJoshua Leung <aligorith@gmail.com>2016-05-08 17:04:28 +0300
commit491ad6664ee20efdaf9843d3275b38bdc60f5ba5 (patch)
tree369844f79e1260686fa37bbdbe8603a0fc4c4986 /release/scripts/startup/bl_ui/properties_grease_pencil_common.py
parent3f934b06a6d917de74987c48d17248e4501bae94 (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.
Diffstat (limited to 'release/scripts/startup/bl_ui/properties_grease_pencil_common.py')
-rw-r--r--release/scripts/startup/bl_ui/properties_grease_pencil_common.py7
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")