Actions
Bug #6291
closedWStackedWidget and WHBoxLayout
Start date:
03/14/2018
Due date:
% Done:
0%
Estimated time:
Description
I experienced some strange behavior with StackedWidget under Wt 4.0.2 which already worked with 3.3.7.
I have a StackedWidget with 3 containers. Although I set first container to WHBoxLayout, elements are placed from top to bottom.
When I switch to second container with setCurrentIndex(1) and reswitching to first with setCurrentIndex(0) elements are placed correctly from left to right.
Also when I create an additional container under the first stacked container, and assign WHBoxLayout to this, i get correct results.
Files
Updated by Roel Standaert over 6 years ago
I see, WStackedWidget sets the display
style to none
, and then "restores" it to empty, whereas it should actually restore it to flex
if it's a container with a flex layout.
Updated by Roel Standaert over 6 years ago
- Status changed from Resolved to Closed
Actions