[Bf-blender-cvs] [491ad66] master: Tweak to GPencil layers UI layout

Joshua Leung noreply at git.blender.org
Sun May 8 16:53:30 CEST 2016


Commit: 491ad6664ee20efdaf9843d3275b38bdc60f5ba5
Author: Joshua Leung
Date:   Mon May 9 02:04:28 2016 +1200
Branches: master
https://developer.blender.org/rB491ad6664ee20efdaf9843d3275b38bdc60f5ba5

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.

===================================================================

M	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 698a9f5..a823789 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")




More information about the Bf-blender-cvs mailing list