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:
authorYevgeny Makarov <jenkm>2020-08-06 12:51:54 +0300
committerJulian Eisel <julian@blender.org>2020-08-06 13:33:28 +0300
commitb2e0c8f902fabbcd593da09fc0d07d06bedbfb70 (patch)
tree65150c60ccd9adbb3a620782beae589130cd77fc
parentd71cb229d054bb0482882fa9c0753b495179d7cb (diff)
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
m---------release/datafiles/locale0
m---------release/scripts/addons0
m---------release/scripts/addons_contrib0
-rw-r--r--release/scripts/startup/bl_ui/space_view3d.py6
m---------source/tools0
5 files changed, 3 insertions, 3 deletions
diff --git a/release/datafiles/locale b/release/datafiles/locale
-Subproject 2b3c19f5f61fc72dba56a7edfdc4e55e2327dc1
+Subproject a7bbfac76c00edd0fb79a4766b7ac7c5dcbcac5
diff --git a/release/scripts/addons b/release/scripts/addons
-Subproject 49c39f59fbc464dd34388990123f271c39eacbf
+Subproject 82ed41ec632483fa9260d90dae7afdf3192c509
diff --git a/release/scripts/addons_contrib b/release/scripts/addons_contrib
-Subproject a52733b58d95ce60ecde95a9eca242e7319c285
+Subproject f2f4a8b3bfa36ee49f7bdb3a1acb40ef4b39ee3
diff --git a/release/scripts/startup/bl_ui/space_view3d.py b/release/scripts/startup/bl_ui/space_view3d.py
index e73dc0e3b7e..c5ae9ed6cae 100644
--- a/release/scripts/startup/bl_ui/space_view3d.py
+++ b/release/scripts/startup/bl_ui/space_view3d.py
@@ -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()
diff --git a/source/tools b/source/tools
-Subproject 896c5f78952adb2d091d28c65086d46992dabda
+Subproject 6a252de776d0b9dca3167c30a7621a4f1e9bc91