[Bf-blender-cvs] [8aadba6ef05] master: UI: increase size of fallback tool popover

Campbell Barton noreply at git.blender.org
Thu Dec 12 03:32:56 CET 2019


Commit: 8aadba6ef054ad21558548ab0e2bbde4cfedcbec
Author: Campbell Barton
Date:   Thu Dec 12 13:31:06 2019 +1100
Branches: master
https://developer.blender.org/rB8aadba6ef054ad21558548ab0e2bbde4cfedcbec

UI: increase size of fallback tool popover

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

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

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

diff --git a/release/scripts/startup/bl_ui/space_toolsystem_common.py b/release/scripts/startup/bl_ui/space_toolsystem_common.py
index 4413dee4189..8c5f2e9cbe5 100644
--- a/release/scripts/startup/bl_ui/space_toolsystem_common.py
+++ b/release/scripts/startup/bl_ui/space_toolsystem_common.py
@@ -738,10 +738,10 @@ class ToolSelectPanelHelper:
             else:
                 label = "Active Tool"
 
-            split = layout.split(factor=0.5)
+            split = layout.split(factor=0.33)
             row = split.row()
             row.alignment = 'RIGHT'
-            row.label(text="Drag")
+            row.label(text="Drag:")
             row = split.row()
             row.context_pointer_set("tool", tool)
             row.popover(panel="TOPBAR_PT_tool_fallback", text=label)
@@ -751,7 +751,6 @@ class ToolSelectPanelHelper:
     # Show a list of tools in the popover.
     @staticmethod
     def draw_fallback_tool_items(layout, context):
-
         space_type = context.space_data.type
         if space_type == 'PROPERTIES':
             space_type = 'VIEW_3D'



More information about the Bf-blender-cvs mailing list