[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: Smaller KDialogs if needed
From:       Olivier Goffart <ogoffart () kde ! org>
Date:       2008-06-22 9:29:20
Message-ID: 200806221129.30747.ogoffart () kde ! org
[Download RAW message or body]


Le samedi 21 juin 2008, Albert Astals Cid a écrit  :
> KDialog uses the mainwidget sizeHint to calculate it's minimumSizeHint,
> this results in BIG KDialogs and bad situations like for example
> 	$ keditfiletype text/html
> not fitting in a 1024x768 screen.
>
> The attached patch first uses sizeHint and if the calculated
> minimumSizeHint is bigger than 90% of available screen rect recalculates
> the minimumSizeHint using children's minimumSizeHint.
>
> That gives me a keditfiletype that fits nicely in a 1024x768 screen.
>
> Comments?

Don't you think kdialog should always compute the minimum sizehint from the 
minimum size hint of it's contents?

["signature.asc" (application/pgp-signature)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic