diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-12-12 05:31:06 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-12-12 05:32:15 +0300 |
commit | 8aadba6ef054ad21558548ab0e2bbde4cfedcbec (patch) | |
tree | 1df3cb39cf6c3c31be2fe98d2ddf2d87e8c398e1 /release/scripts/startup/bl_ui/space_toolsystem_common.py | |
parent | 80c156a8d58691384e4eb7051eca86d6f950459b (diff) |
UI: increase size of fallback tool popover
Diffstat (limited to 'release/scripts/startup/bl_ui/space_toolsystem_common.py')
-rw-r--r-- | release/scripts/startup/bl_ui/space_toolsystem_common.py | 5 |
1 files 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' |