From 8aadba6ef054ad21558548ab0e2bbde4cfedcbec Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Thu, 12 Dec 2019 13:31:06 +1100 Subject: [PATCH] UI: increase size of fallback tool popover --- release/scripts/startup/bl_ui/space_toolsystem_common.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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'