diff options
author | William Reynish <billrey@me.com> | 2020-01-13 11:38:49 +0300 |
---|---|---|
committer | William Reynish <billrey@me.com> | 2020-01-13 11:38:49 +0300 |
commit | 1c81374c3728a0c3843846c0996340ab3bc258dd (patch) | |
tree | b7ba7452a66856c3b25b01dcedc611a8b014c777 /release/scripts/modules/rna_prop_ui.py | |
parent | ddb958ae998c1fc1a6bfb068e8dd545ebf6ed160 (diff) |
Fix T73062: Custom properties misaligned
The UI layout here was mistakingly made left aligned and very hard to read when viewed inside the Sidebar.
Diffstat (limited to 'release/scripts/modules/rna_prop_ui.py')
-rw-r--r-- | release/scripts/modules/rna_prop_ui.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/release/scripts/modules/rna_prop_ui.py b/release/scripts/modules/rna_prop_ui.py index 202fd865723..8dda8c90f85 100644 --- a/release/scripts/modules/rna_prop_ui.py +++ b/release/scripts/modules/rna_prop_ui.py @@ -277,14 +277,15 @@ def draw(layout, context, context_member, property_type, use_edit=True): else: val_draw = val - row = flow.row(align=True) + row = layout.row(align=True) box = row.box() if use_edit: split = box.split(factor=0.75) row = split.row(align=True) else: - row = box.row(align=True) + split = box.split(factor=1.00) + row = split.row(align=True) row.alignment = 'RIGHT' |