Commit: 39c6953462d9652ad54952100dc83a32e925553d
Author: Colin Basnett
Date:   Mon Jan 16 12:54:25 2023 -0800
Branches: master
https://developer.blender.org/rB39c6953462d9652ad54952100dc83a32e925553d

UI: Fix alignment of custom properties edit & remove buttons

This fixes the UI alignment issues that were introduced by {D12815} with the 
addition of the boolean custom properties.

Reviewed By: HooglyBoogly

Differential Revision: https://developer.blender.org/D17012

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

M       release/scripts/modules/rna_prop_ui.py

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

diff --git a/release/scripts/modules/rna_prop_ui.py 
b/release/scripts/modules/rna_prop_ui.py
index f6c01bde9cd..8b889d8ca4b 100644
--- a/release/scripts/modules/rna_prop_ui.py
+++ b/release/scripts/modules/rna_prop_ui.py
@@ -181,6 +181,7 @@ def draw(layout, context, context_member, property_type, *, 
use_edit=True):
             value_column.prop(rna_item, '["%s"]' % escape_identifier(key), 
text="")
 
         operator_row = value_row.row()
+        operator_row.alignment = 'RIGHT'
 
         # Do not allow editing of overridden properties (we cannot use a poll 
function
         # of the operators here since they's have no access to the specific 
property).

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
List details, subscription details or unsubscribe:
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to