UI: Wider Dyntopo popover to fit all settings
authorPablo Vazquez <venomgfx@gmail.com>
Fri, 13 Jul 2018 15:58:22 +0000 (17:58 +0200)
committerPablo Vazquez <venomgfx@gmail.com>
Fri, 13 Jul 2018 15:58:31 +0000 (17:58 +0200)
Suggested by kostex_mb on IRC

release/scripts/startup/bl_ui/space_view3d_toolbar.py

index 62cff9d6e42bc473d67a5030f2dacf6608afdc81..87c6a3840aed915247ec76be74f282290ccb5f4b 100644 (file)
@@ -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