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:
parent
6f6cc269a4
commit
39c6953462
|
@ -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).
|
||||
|
|
Loading…
Reference in New Issue