Trolltech Home | Qt4-preview-feedback Home | Recent Threads | All Threads | Author | Date
All threads index page 1

Qt4-preview-feedback Archive, May 2007
Error in horizontal layout


Message 1 in thread

The current implementation resizes buttons, layouted manually on the bottom of 
a dialog. Thats cruel...
Sorry, I cannot describe it, but I have a snapshot attached.

(The buttons are not in a button box)

Attachment:

Attachment: foto.png
Description: PNG image


Message 2 in thread

J. Preiss wrote:
> The current implementation resizes buttons, layouted manually on the
> bottom of a dialog. Thats cruel...
> Sorry, I cannot describe it, but I have a snapshot attached.
> (The buttons are not in a button box)

Hm, the buttons icons look misaligned too - are they standard buttons? Could
you provide the UI file for this, or perhaps construct a new UI file that
shows the same problem?

-- 
 [ signature omitted ] 

Message 3 in thread

On Friday 18 May 2007 08:44:28 Andreas Aardal Hanssen wrote:
> J. Preiss wrote:
> > The current implementation resizes buttons, layouted manually on the
> > bottom of a dialog. Thats cruel...
> > Sorry, I cannot describe it, but I have a snapshot attached.
> > (The buttons are not in a button box)
>
> Hm, the buttons icons look misaligned too - are they standard buttons?

I always add them by hand, as they come frome a resource.dll

> Could you provide the UI file for this, or perhaps construct a new UI file
> that shows the same problem?

Yes. The point is: until I broke und realigned the layout of the lower 
buttons, the designer showed it correctly.

... I found it: you must have changed the functionality of a splitter. 
vSizeType was "Preferred", so the lower vertical layout was resized. IMHO 
this is an error... 

Attachment:

Attachment: mainview.ui
Description: application/designer


Message 4 in thread

J. Preiss wrote:
> Yes. The point is: until I broke und realigned the layout of the lower
> buttons, the designer showed it correctly.
> ... I found it: you must have changed the functionality of a splitter.
> vSizeType was "Preferred", so the lower vertical layout was resized. IMHO
> this is an error...

I tried your UI file with today's 4.3, and it looks fine, layouts are
correct, no apparent errors. How can I reproduce your bug?

-- 
 [ signature omitted ] 

Message 5 in thread

On Monday 21 May 2007 09:11:13 Andreas Aardal Hanssen wrote:
> J. Preiss wrote:
> > Yes. The point is: until I broke und realigned the layout of the lower
> > buttons, the designer showed it correctly.
> > ... I found it: you must have changed the functionality of a splitter.
> > vSizeType was "Preferred", so the lower vertical layout was resized. IMHO
> > this is an error...
>
> I tried your UI file with today's 4.3, and it looks fine, layouts are
> correct, no apparent errors. How can I reproduce your bug?

Did you change the QSplitter::vSizeType to "Preferred" like it was before?

To unsubscribe - send "unsubscribe" in the subject to qt4-preview-feedback-request@xxxxxxxxxxxxx