Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPratik Borhade <PratikPB2123>2022-04-07 01:01:07 +0300
committerHans Goudey <h.goudey@me.com>2022-04-07 01:01:07 +0300
commit77ae30517f14b40669ef8a1978044598f6291191 (patch)
treed61cbdcd53594389310da2cdbbd02eb8323bd79d
parent236643606e7e8417bb5207d79d0762211cd8f6c1 (diff)
Fix: UI alignment in knife tool settings popover
Remove the extra space given for decorators on right of the popover. Differential Revision: https://developer.blender.org/D14518
-rw-r--r--release/scripts/startup/bl_ui/space_toolsystem_toolbar.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/release/scripts/startup/bl_ui/space_toolsystem_toolbar.py b/release/scripts/startup/bl_ui/space_toolsystem_toolbar.py
index 270d0e9b288..158e07659bc 100644
--- a/release/scripts/startup/bl_ui/space_toolsystem_toolbar.py
+++ b/release/scripts/startup/bl_ui/space_toolsystem_toolbar.py
@@ -1074,11 +1074,13 @@ class _defs_edit_mesh:
else:
extra = True
if extra:
+ layout.use_property_decorate = False
layout.use_property_split = True
+
layout.prop(props, "visible_measurements")
layout.prop(props, "angle_snapping")
layout.label(text="Angle Snapping Increment")
- layout.row().prop(props, "angle_snapping_increment", text="", expand=True)
+ layout.prop(props, "angle_snapping_increment", text="")
if show_extra:
layout.popover("TOPBAR_PT_tool_settings_extra", text="...")
return dict(