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
This commit is contained in:
Pratik Borhade 2022-04-06 17:01:07 -05:00 committed by Hans Goudey
parent 236643606e
commit 77ae30517f
1 changed files with 3 additions and 1 deletions

View File

@ -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(