Actions
Bug #1497
closedWt 3.2.3-rc1: Layout problem of a WGroupBox within a WContainerWidget
Start date:
10/24/2012
Due date:
% Done:
0%
Estimated time:
Description
Within the attached test application the contents of a WGroupBox using a WVBoxLayout is not shown at all if the WGroupBox is added to a WContainerWidget->addWidget(). If the same WGroupBox is added to another WVBoxLayout and the layout is set for the container using setLayout() all widgets are rendered correctly.
I have added two defines which demonstrates the different behaviour:
#define USE_CONTAINER_INSTEAD_OF_LAYOUT 1
//#define USE_CONTAINER_INSTEAD_OF_LAYOUT 0
#define USE_CONTAINER_INSTEAD_OF_GROUPBOX 0
//#define USE_CONTAINER_INSTEAD_OF_GROUPBOX 1
- With USE_CONTAINER_INSTEAD_OF_LAYOUT=1 and USE_CONTAINER_INSTEAD_OF_GROUPBOX=0 the layout problem shows up.
- With USE_CONTAINER_INSTEAD_OF_LAYOUT=1 and USE_CONTAINER_INSTEAD_OF_GROUPBOX=1 the layout looks ok, but I have no GroupBox (title)
- With USE_CONTAINER_INSTEAD_OF_LAYOUT=0 and USE_CONTAINER_INSTEAD_OF_GROUPBOX=0 the layout looks good, but if I resize the container to a very small size all widgets are very small and looks ugly (current implementation) (I get no vertical overflow scrollbar)
Files
Updated by Stefan Ruppert about 12 years ago
Just forgot to log in. This is my bug report ;-)
Updated by Koen Deforche about 12 years ago
- Target version changed from 3.2.3 to 3.3.0
Updated by Koen Deforche almost 12 years ago
- Status changed from New to InProgress
Updated by Koen Deforche almost 12 years ago
- Status changed from InProgress to Resolved
Updated by Koen Deforche almost 12 years ago
- Status changed from Resolved to Closed
Actions