UI: always align item w/ label

This commit is contained in:
Campbell Barton 2018-08-24 12:13:28 +10:00
parent 7ec1a56a41
commit b2d32d7fa4
1 changed files with 2 additions and 1 deletions

View File

@ -678,7 +678,8 @@ static uiBut *ui_item_with_label(uiLayout *layout, uiBlock *block, const char *n
PropertySubType subtype;
int labelw;
sub = uiLayoutRow(layout, layout->align);
/* Always align item with label since text is already given enough space not to overlap. */
sub = uiLayoutRow(layout, true);
UI_block_layout_set_current(block, sub);
if (name[0]) {