Project

General

Profile

Bug #1907

WHBoxLayout addStretch() does not work as expected since wt-3.3.0

Added by Stefan Ruppert about 9 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
High
Assignee:
Target version:
Start date:
05/18/2013
Due date:
% Done:

0%

Estimated time:

Description

Hi,

I have an toolbar like WHBoxLayout which uses a hbox->addStretch(1) between two widgets to seperate between left rendered and right rendered widgets.

Attached you will see the layout of wt-3.2.3 which looks quite good and a wt-3.3.0 layout which looks not so good since the labels for some input control (Tree depth and %-Filter) are not directly rendered besides the appropriate input controls.

Regards,

Stefan


Files

Wt-WHBoxLayout-Stretch-wt3.2.3.png (9.14 KB) Wt-WHBoxLayout-Stretch-wt3.2.3.png wt-3.2.3 layout which looks good Stefan Ruppert, 05/18/2013 03:00 PM
Wt-WHBoxLayout-Stretch-wt3.3.0.png (8.86 KB) Wt-WHBoxLayout-Stretch-wt3.3.0.png wt-3.3.0 layout which streches all widgets and does not look good Stefan Ruppert, 05/18/2013 03:00 PM
Wt-WHBoxLayout-without-Stretch-wt3.3.0.png (7.64 KB) Wt-WHBoxLayout-without-Stretch-wt3.3.0.png wt-3.3.0 layout without a addStretch(1) call Stefan Ruppert, 07/05/2013 11:29 AM
stretch.cpp (858 Bytes) stretch.cpp Koen Deforche, 07/30/2013 09:06 PM
stretch_myspin.cpp (1.4 KB) stretch_myspin.cpp WSpinBox with 50 pixel width Stefan Ruppert, 08/01/2013 10:53 AM
spin-stretch.png (14.8 KB) spin-stretch.png Koen Deforche, 08/01/2013 05:07 PM

Also available in: Atom PDF