Bug #9284
closedWTableView does not layout correctly when inside a WTabWidget
100%
Description
When I use a WTableView inside a WTabWidget, the WTableView does not layout correctly. I assume this forum post refers to the same problem:
https://redmine.webtoolkit.eu/boards/2/topics/15120
The WTableView is streched to the entire size of the tab widget as expected and visible by the grey border.
Problem 1: The horizontal scrollbar is displayed after the last entry in the table, instead of the lower end of the WTabWidget (see Problem1.png)
Problem 2: When the window is resized to a smaller size, the horizontal scrollbar disappears, the vertical scrollbar does not appear (see Problem2.png)
When I use the same code outside a WTabWidget, everything works as expected.
I attached a minimal sample code that demonstrates the problem, this refers to Wt 4.5.1.
Files
Updated by Stefan Bn almost 3 years ago
Update: It seems to be more like a problem in the WStackedWidget-part of the WTabWidget and this helps:
https://redmine.webtoolkit.eu/boards/2/topics/14926?r=15653#message-15653
Is this expected behavior or a bug?
Updated by Matthias Van Ceulebroeck 9 months ago
- Status changed from New to InProgress
- Assignee set to Matthias Van Ceulebroeck
Updated by Matthias Van Ceulebroeck 9 months ago
- Status changed from InProgress to Review
- Assignee deleted (
Matthias Van Ceulebroeck) - Target version changed from future to 4.10.4
Updated by Matthias Van Ceulebroeck 3 months ago
- Target version changed from 4.10.4 to 4.11.1
Updated by Matthias Van Ceulebroeck 3 months ago
- Status changed from Review to Implemented @Emweb
- Assignee set to Matthias Van Ceulebroeck
- Target version changed from 4.11.1 to 4.11.0
- % Done changed from 0 to 100
Updated by Matthias Van Ceulebroeck 13 days ago
- Status changed from Implemented @Emweb to Closed