Skip to content

Commit

Permalink
Merge pull request #829 from enthought/fix/ui-panel-alignment
Browse files Browse the repository at this point in the history
Remove align centre which was causing problems
  • Loading branch information
kitchoi committed Jul 8, 2020
1 parent d03a071 commit 1a6ade1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion traitsui/wx/ui_panel.py
Original file line number Diff line number Diff line change
Expand Up @@ -1011,7 +1011,7 @@ def add_items(self, content, panel, sizer):
item_sizer.Add(
control,
growable,
flags | layout_style | wx.ALIGN_CENTER_VERTICAL,
flags | layout_style,
max(0, border_size + padding + item.padding),
)

Expand Down

0 comments on commit 1a6ade1

Please sign in to comment.