[Bf-blender-cvs] [f948459f12a] master: UI: Reduce item padding in the gpencil edit context menus
Yevgeny Makarov
noreply at git.blender.org
Wed Oct 7 14:40:54 CEST 2020
Commit: f948459f12a3831c5a64c214ed8d7b5b3e773137
Author: Yevgeny Makarov
Date: Wed Oct 7 07:40:34 2020 -0500
Branches: master
https://developer.blender.org/rBf948459f12a3831c5a64c214ed8d7b5b3e773137
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
===================================================================
M release/scripts/startup/bl_ui/space_view3d.py
===================================================================
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()
More information about the Bf-blender-cvs
mailing list