[Bf-blender-cvs] [6e9b328a397] greasepencil-object: UI Tweak: Disable property split for GP Layers panel

Joshua Leung noreply at git.blender.org
Thu Jun 21 13:16:33 CEST 2018


Commit: 6e9b328a397b8258795b93d4ef3fb7e7993d4bcd
Author: Joshua Leung
Date:   Thu Jun 21 22:53:02 2018 +1200
Branches: greasepencil-object
https://developer.blender.org/rB6e9b328a397b8258795b93d4ef3fb7e7993d4bcd

UI Tweak: Disable property split for GP Layers panel

There's just a single property here (opacity) under a
list widget that spans the full width of the panel.
It's not really worth having the half-size widget here.

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

M	release/scripts/startup/bl_ui/properties_data_gpencil.py

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

diff --git a/release/scripts/startup/bl_ui/properties_data_gpencil.py b/release/scripts/startup/bl_ui/properties_data_gpencil.py
index 488c8f26ea9..06ae0c205be 100644
--- a/release/scripts/startup/bl_ui/properties_data_gpencil.py
+++ b/release/scripts/startup/bl_ui/properties_data_gpencil.py
@@ -76,7 +76,7 @@ class DATA_PT_gpencil_datapanel(Panel):
     @staticmethod
     def draw(self, context):
         layout = self.layout
-        layout.use_property_split = True
+        #layout.use_property_split = True
         layout.use_property_decorate = False
 
         gpd = context.gpencil_data



More information about the Bf-blender-cvs mailing list