Actions
Bug #7230
openWt4, WVBoxLayout->setResizable not working, children not visible
Status:
Confirmed
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
09/09/2019
Due date:
% Done:
0%
Estimated time:
Description
When using flex layout implementation the widgets inside the corresponding layout are not visible.
Files
Updated by Roel Standaert over 4 years ago
- Status changed from New to Confirmed
That's interesting. Making a layout resizable should actually make it switch to using JavaScript
automatically, since that feature is simply not supported with the flexbox implementation.
Updated by Roel Standaert over 4 years ago
I see what's going on:
- Before the widgets are added, the box layout assumes flex layout implementation
- The widgets are added, and will create a flex layout item as their implementation
- A row is made resizable, causing the box layout to switch to the JavaScript-based layout implementation, but:
- The implementation of the items remains the same, and is not updated to the JavaScript-based layout item implementation
The issue does not happen when the JavaScript implementation is set before the widgets are added, or before the layout is added to a container. It is thus dependent on the order in which you do things.
We'll have to figure out how to best solve this.
Updated by Aaron Wright over 1 year ago
I ran into this today. It was quite confusing, so I thought I'd leave my vote to get a fix in for this.
Actions