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-10-07 15:40:34 +0300
committerHans Goudey <h.goudey@me.com>2020-10-07 15:40:34 +0300
commitf948459f12a3831c5a64c214ed8d7b5b3e773137 (patch)
treecce17bbbf72751e545b5376e17804659c3a3aef8
parenta81b059f1d9cce8dbcfea90f3a618c2da7e09c8e (diff)
UI: Reduce item padding in the gpencil edit context menus
Aligning the columns removes unecessary white space. The same as in the D8480 / rBb2e0c8f902fa. Differential Revision: https://developer.blender.org/D9111
-rw-r--r--release/scripts/startup/bl_ui/space_view3d.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/release/scripts/startup/bl_ui/space_view3d.py b/release/scripts/startup/bl_ui/space_view3d.py
index 92768305605..6612572f987 100644
--- a/release/scripts/startup/bl_ui/space_view3d.py
+++ b/release/scripts/startup/bl_ui/space_view3d.py
@@ -6955,7 +6955,7 @@ class VIEW3D_MT_gpencil_edit_context_menu(Menu):
row = layout.row()
if is_point_mode or is_segment_mode:
- col = row.column()
+ col = row.column(align=True)
col.label(text="Point Context Menu", icon='GP_SELECT_POINTS')
col.separator()
@@ -7006,7 +7006,7 @@ class VIEW3D_MT_gpencil_edit_context_menu(Menu):
if is_stroke_mode:
- col = row.column()
+ col = row.column(align=True)
col.label(text="Stroke Context Menu", icon='GP_SELECT_STROKES')
col.separator()