[Bf-blender-cvs] [d705335c2b0] master: UI: 2D Animation: Fix Labelling issue within the 'Cursor' dropdown
Adrian Newton
noreply at git.blender.org
Wed Apr 14 17:56:34 CEST 2021
Commit: d705335c2b0ae5994d8d66df100270f34c098c77
Author: Adrian Newton
Date: Wed Apr 14 17:55:59 2021 +0200
Branches: master
https://developer.blender.org/rBd705335c2b0ae5994d8d66df100270f34c098c77
UI: 2D Animation: Fix Labelling issue within the 'Cursor' dropdown
Within the 2D Animation workspace, the 'Cursor' dropdown currently displays the 'Display Cursor' incorrectly aligned.
This change fixes the alignment issue.
Reviewed By: #user_interface, #grease_pencil, antoniov
Differential Revision: https://developer.blender.org/D10614
===================================================================
M release/scripts/startup/bl_ui/properties_grease_pencil_common.py
===================================================================
diff --git a/release/scripts/startup/bl_ui/properties_grease_pencil_common.py b/release/scripts/startup/bl_ui/properties_grease_pencil_common.py
index c23cc838e51..c1d60a127d2 100644
--- a/release/scripts/startup/bl_ui/properties_grease_pencil_common.py
+++ b/release/scripts/startup/bl_ui/properties_grease_pencil_common.py
@@ -147,8 +147,7 @@ class GreasePencilDisplayPanel:
if self.is_popover:
row = layout.row(align=True)
- row.prop(settings, "show_brush", text="")
- row.label(text="Display Cursor")
+ row.prop(settings, "show_brush", text="Display Cursor")
col = layout.column(align=True)
col.active = settings.show_brush
More information about the Bf-blender-cvs
mailing list