UI: Reduce item padding in the edit mesh context menus
Align items in the edit mesh context menus (reducing padding), for
consistency with other menus.
The root layout of menus doesn't add the padding, for sub-layouts
`align` has to be enabled.
{F8749633}
Reviewed By: Julian Eisel
Differential Revision: https://developer.blender.org/D8480
This commit is contained in:
Submodule release/datafiles/locale updated: 2b3c19f5f6...a7bbfac76c
Submodule release/scripts/addons updated: 49c39f59fb...82ed41ec63
Submodule release/scripts/addons_contrib updated: a52733b58d...f2f4a8b3bf
@@ -3688,7 +3688,7 @@ class VIEW3D_MT_edit_mesh_context_menu(Menu):
|
||||
row = layout.row()
|
||||
|
||||
if is_vert_mode:
|
||||
col = row.column()
|
||||
col = row.column(align=True)
|
||||
|
||||
col.label(text="Vertex Context Menu", icon='VERTEXSEL')
|
||||
col.separator()
|
||||
@@ -3738,7 +3738,7 @@ class VIEW3D_MT_edit_mesh_context_menu(Menu):
|
||||
if is_edge_mode:
|
||||
render = context.scene.render
|
||||
|
||||
col = row.column()
|
||||
col = row.column(align=True)
|
||||
col.label(text="Edge Context Menu", icon='EDGESEL')
|
||||
col.separator()
|
||||
|
||||
@@ -3806,7 +3806,7 @@ class VIEW3D_MT_edit_mesh_context_menu(Menu):
|
||||
col.operator("mesh.delete", text="Delete Edges").type = 'EDGE'
|
||||
|
||||
if is_face_mode:
|
||||
col = row.column()
|
||||
col = row.column(align=True)
|
||||
|
||||
col.label(text="Face Context Menu", icon='FACESEL')
|
||||
col.separator()
|
||||
|
||||
Submodule source/tools updated: 896c5f7895...6a252de776
Reference in New Issue
Block a user