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
This commit is contained in:
Colin Basnett 2023-01-16 12:54:25 -08:00
parent 6f6cc269a4
commit 39c6953462
1 changed files with 1 additions and 0 deletions

View File

@ -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).