[Bf-blender-cvs] [b2e0c8f902f] master: UI: Reduce item padding in the edit mesh context menus

Yevgeny Makarov noreply at git.blender.org
Thu Aug 6 12:35:33 CEST 2020


Commit: b2e0c8f902fabbcd593da09fc0d07d06bedbfb70
Author: Yevgeny Makarov
Date:   Thu Aug 6 11:51:54 2020 +0200
Branches: master
https://developer.blender.org/rBb2e0c8f902fabbcd593da09fc0d07d06bedbfb70

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/locale
M	release/scripts/addons
M	release/scripts/addons_contrib
M	release/scripts/startup/bl_ui/space_view3d.py
M	source/tools

===================================================================

diff --git a/release/datafiles/locale b/release/datafiles/locale
index 2b3c19f5f61..a7bbfac76c0 160000
--- a/release/datafiles/locale
+++ b/release/datafiles/locale
@@ -1 +1 @@
-Subproject commit 2b3c19f5f61fc72dba56a7edfdc4e55e2327dc1f
+Subproject commit a7bbfac76c00edd0fb79a4766b7ac7c5dcbcac51
diff --git a/release/scripts/addons b/release/scripts/addons
index 49c39f59fbc..82ed41ec632 160000
--- a/release/scripts/addons
+++ b/release/scripts/addons
@@ -1 +1 @@
-Subproject commit 49c39f59fbc464dd34388990123f271c39eacbf4
+Subproject commit 82ed41ec632483fa9260d90dae7afdf3192c509b
diff --git a/release/scripts/addons_contrib b/release/scripts/addons_contrib
index a52733b58d9..f2f4a8b3bfa 160000
--- a/release/scripts/addons_contrib
+++ b/release/scripts/addons_contrib
@@ -1 +1 @@
-Subproject commit a52733b58d95ce60ecde95a9eca242e7319c285a
+Subproject commit f2f4a8b3bfa36ee49f7bdb3a1acb40ef4b39ee3a
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
index 896c5f78952..6a252de776d 160000
--- a/source/tools
+++ b/source/tools
@@ -1 +1 @@
-Subproject commit 896c5f78952adb2d091d28c65086d46992dabdac
+Subproject commit 6a252de776d0b9dca3167c30a7621a4f1e9bc911



More information about the Bf-blender-cvs mailing list