[PATCH] Scrollable page dialogs
Riccardo Iaconelli
riccardo at kde.org
Wed Dec 19 21:53:27 GMT 2007
Il giorno 19/dic/07, alle ore 15:55, Aurélien Gâteau <aurelien.gateau at free.
fr> ha scritto:
> Hello,
>
> While working on SystemSettings module size problems, I thought it
> would be
> nicer to prevent the bottom button bar from scrolling. Digging in
> the code
> I realized I needed to patch KPageView, so it would impact all KDE
> dialogs.
>
> Attached are two patches, the kdeui one which adds scrollbars to
> KPageView
> if necessary, the other one removes QScrollArea from SystemSettings,
> as
> it's no longer needed.
>
> Here are a series of screenshots showing the difference. All shots
> were made
> using the default SystemSettings size.
>
> - Network / Proxy
> Before: http://img178.imageshack.us/img178/2037/beforenetworkproxyty8.png
> After: http://img178.imageshack.us/img178/950/afternetworkproxyhg5.png
>
> - Accessibility
> Before: http://img208.imageshack.us/img208/4717/beforea11ykq2.png
> After: http://img208.imageshack.us/img208/8915/aftera11ykz2.png
>
> As I said, this patch impacts all KDE KPageDialog instances. For
> example,
> the Konqueror settings dialog does not resize itself anymore[1] when
> switching between pages. Here is a screenshot:
>
> http://img179.imageshack.us/img179/8184/afterkonqsettingsht3.png
>
> Do you think this should go in? Or should I try to work on a patch
> which
> would only affect SystemSettings?
I haven't actually looked at the code, but I really think this is the
kind of polishness we want in KDE 4, and this should affect all the
dialogs, konqueror included (I personally hate how it resizes right
now).
So, definitely a strong +1 here for seeing this in.
> Aurélien
>
> [1]: It still resizes a bit when there is not enough room for the page
> title.
Bye,
-Riccardo
More information about the kde-core-devel
mailing list