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

View File

@@ -678,7 +678,8 @@ static uiBut *ui_item_with_label(uiLayout *layout, uiBlock *block, const char *n
PropertySubType subtype; PropertySubType subtype;
int labelw; 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); UI_block_layout_set_current(block, sub);
if (name[0]) { if (name[0]) {