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

List:       kde-core-devel
Subject:    Re: HIG; dialogs and layouts.
From:       Thomas Zander <zander () kde ! org>
Date:       2007-04-04 6:47:41
Message-ID: 200704040847.42131.zander () kde ! org
[Download RAW message or body]


On Tuesday 03 April 2007 22:02, Leo Savernik wrote:
> > Very hard; there is no bug or missing feature in designer; the missing
> > feature is in the layout manager QGridLayout.
>
> Erm, do those patched dialogs still resize properly?

Sure;
the only things my solution does is to;
a) set the alignment of a label,
b) set the column that contains a set of labels to a minimum size based on the 
biggest label in that (visual) column.

The effect is that each individual layout manager behaves like it has the 
widest label in there and thus all layouts scale similarly.

Labels still have a scaling strategy of 'minimum' compared to the Qt3 ' fixed' 
and thus making the dialog larger will allocate more space to that column.
I'm not sure if that's wanted; and its worth trying to change that.

I feel obligated to point out that the suggested solution by the HIG team was 
to add quite a lot of spacers which IMO is a bigger hack than this :)
Not to mention harder to do in each and every dialog we have.
-- 
Thomas Zander

[Attachment #3 (application/pgp-signature)]

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

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