diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-08-24 05:17:33 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-08-24 05:17:33 +0300 |
commit | 6a5bc88abfbbf4330ba0f1c4ea0b0366c42af3e1 (patch) | |
tree | d02506a6dd8d6f82a7509e509cb3d58d90195ec9 /source/blender/editors/interface | |
parent | 7fa42b3e519173c29a2ae250cea15f35e32521c2 (diff) | |
parent | b2d32d7fa4b371561b18c68eeeed0d7012850f8c (diff) |
Merge branch 'master' into blender2.8
Diffstat (limited to 'source/blender/editors/interface')
-rw-r--r-- | source/blender/editors/interface/interface_layout.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/editors/interface/interface_layout.c b/source/blender/editors/interface/interface_layout.c index a9703736916..70bcc8e7c4e 100644 --- a/source/blender/editors/interface/interface_layout.c +++ b/source/blender/editors/interface/interface_layout.c @@ -748,7 +748,8 @@ static uiBut *ui_item_with_label( int prop_but_width = w_hint; const bool use_prop_sep = ((layout->item.flag & UI_ITEM_PROP_SEP) != 0); - 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]) { |