[Bf-blender-cvs] [77ae30517f1] master: Fix: UI alignment in knife tool settings popover
Pratik Borhade
noreply at git.blender.org
Thu Apr 7 00:01:23 CEST 2022
Commit: 77ae30517f14b40669ef8a1978044598f6291191
Author: Pratik Borhade
Date: Wed Apr 6 17:01:07 2022 -0500
Branches: master
https://developer.blender.org/rB77ae30517f14b40669ef8a1978044598f6291191
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
===================================================================
M release/scripts/startup/bl_ui/space_toolsystem_toolbar.py
===================================================================
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(
More information about the Bf-blender-cvs
mailing list