qtui: Properly fix the SettingsDlg layout
authorManuel Nickschas <sputnick@quassel-irc.org>
Mon, 4 Jun 2018 21:44:32 +0000 (23:44 +0200)
committerManuel Nickschas <sputnick@quassel-irc.org>
Wed, 6 Jun 2018 19:28:11 +0000 (21:28 +0200)
commit478ee0d7803a4741c792991c8a7be844d85f8487
tree60116caeac07453062f8512422230099739fd44c
parent0182f0e3977026de65be1edb6ca1e8d7ea0184fd
qtui: Properly fix the SettingsDlg layout

We've suffered from the page tree in the settings dialog being
squashed horizontally for a long time. A previous commit (65c463f0)
tried to fix this by calculating a minimum size and explicitly
resizing the dialog, but this didn't properly work at least on HIDPI
displays.

Instead, fix layouting properly by setting the correct size policy
for the tree widget, and removing both the afforementioned workaround
and a previous hack that tried to set the minimum width manually
(and failed due to a still-hidden widget reporting wrong size hints).
src/qtui/settingsdlg.cpp
src/qtui/ui/settingsdlg.ui