Bug #7195
closedcontents of WStackedWidget not responding to window size change
0%
Description
After changing from the first Widget to the second all contents of the WStackedWidget are not responding to a window size change anymore.
wt-master: 6b062321668ca1057615300da3d479cd3630e125
Files
Updated by Roel Standaert over 5 years ago
- Status changed from New to Resolved
Looks like the stacked widget would set the resize sensor's "display" property to "none", causing it to stop working. WStackedWidget
needs to ignore the resize sensor, not consider it one of its children. I pushed a fix to 4.1-release
and master
.
I did notice another strange issue, though: when I was only changing the height of the browser window, it was not being updated, yet when I was changing the width too, it would. I'll have to see what that's about.
Updated by Roel Standaert over 5 years ago
- Status changed from Resolved to New
Never mind, it seems that the height change thing was also fixed.
Updated by Roel Standaert about 5 years ago
- Status changed from Resolved to Closed
Released in 4.1.1
Updated by Marco Kinski over 4 years ago
I am currently on 4.2.1 and using ``Wt::WLayout::setDefaultImplementation(Wt::LayoutImplementation::JavaScript); // use old layout behaviour``. Works as expected.
Updated by Roel Standaert over 4 years ago
Are you seeing that issue with the cpp file that was provided, or using your own code? Do you have a code sample to reproduce that?
Updated by Bradley Looy over 4 years ago
It was with my code. Sorry, it does appear to be resolved.