[Bf-blender-cvs] [7774ad7dd3f] blender2.8: UI: Wider Dyntopo popover to fit all settings

Pablo Vazquez noreply at git.blender.org
Fri Jul 13 17:58:39 CEST 2018


Commit: 7774ad7dd3fbdd6335922fb5c04a43bf163bae38
Author: Pablo Vazquez
Date:   Fri Jul 13 17:58:22 2018 +0200
Branches: blender2.8
https://developer.blender.org/rB7774ad7dd3fbdd6335922fb5c04a43bf163bae38

UI: Wider Dyntopo popover to fit all settings

Suggested by kostex_mb on IRC

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

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

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

diff --git a/release/scripts/startup/bl_ui/space_view3d_toolbar.py b/release/scripts/startup/bl_ui/space_view3d_toolbar.py
index 62cff9d6e42..87c6a3840ae 100644
--- a/release/scripts/startup/bl_ui/space_view3d_toolbar.py
+++ b/release/scripts/startup/bl_ui/space_view3d_toolbar.py
@@ -888,6 +888,7 @@ class VIEW3D_PT_sculpt_dyntopo(Panel, View3DPaintPanel):
     bl_context = ".sculpt_mode"  # dot on purpose (access from topbar)
     bl_label = "Dyntopo"
     bl_options = {'DEFAULT_CLOSED'}
+    bl_ui_units_x = 12
 
     @classmethod
     def poll(cls, context):
@@ -906,6 +907,7 @@ class VIEW3D_PT_sculpt_dyntopo(Panel, View3DPaintPanel):
     def draw(self, context):
         layout = self.layout
         layout.use_property_split = True
+        layout.use_property_decorate = False
 
         toolsettings = context.tool_settings
         sculpt = toolsettings.sculpt



More information about the Bf-blender-cvs mailing list