[PATCH] Avoid double margins in KDialog

Oswald Buddenhagen ossi at kde.org
Wed Dec 5 17:00:03 GMT 2007


On Wed, Dec 05, 2007 at 04:10:04PM +0100, Aurélien Gâteau wrote:
> Oswald Buddenhagen wrote:
> > 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.
> 
well, this *is* layout inside layout ... with a widget in between. :-D
but you're right, this is a different case.
nested layouts are generally not very popular, in particular because
designer is completely unable to deal with such complex stuff. who cares
that an additional widget costs resources ...

-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--
Confusion, chaos, panic - my work here is done.




More information about the kde-core-devel mailing list