First impression matters
written on Thursday, January 10, 2008
A critic I often heard about KDE applications is that they are usually not correctly sized. I mean: when you start a KDE application for the first time, you often need to resize the window or adjust splitters to get a comfortable user interface.
Back in the old Windows days, people were complaining that they couldn't resize most of the dialogs, such as the file dialog. We, KDE users, have been able to resize things the way we want for a long time. But while being able to resize is good, not having to resize is even better!
As an example, here is the KMix main window on my laptop on the first start (rm ~/.kde/share/config/kmixrc to check how it looks on your machine):
After fiddling a bit with the code, here is it what I got:
This is not rocket science, changes required to provide correctly sized widgets on first start usually involve reimplementing QWidget::sizeHint() or setting some minimum sizes here and there.