[PATCH] Avoid double margins in KDialog

Aurélien Gâteau aurelien.gateau at free.fr
Wed Dec 5 15:10:04 GMT 2007


Oswald Buddenhagen wrote:

> On Wed, Dec 05, 2007 at 08:44:36AM +0000, Aurélien Gâteau wrote:
>> It's easy to join the crusade: just have a look at your prefered app
>> dialogs and add a few setMargin(0) where necessary.
>> 
> if you reparent to the layout to the layout it is contained within, the
> margin will automatically go away. kdm does this pretty successfully.
> yes, it is nonsense that - unlike widgets - layouts are not automatically
> reparented.

I am afraid I don't understand you there. We are talking about a widget (the
dialog content) inside another widget (the dialog), not layouts inside
layouts. Or am I missing something?

Aurélien





More information about the kde-core-devel mailing list