Project

General

Profile

Bug #7974

WPopupMenu gets cut off at layout-boundaries/scrollbars

Added by Stefan Bn almost 2 years ago. Updated 10 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
01/12/2021
Due date:
% Done:

0%

Estimated time:

Description

I have a WHBoxLayout which contains two WContainerWidgets side-by-side left and right.

The left container has setOverflow(Overflow::Auto) assigned, to have scrollbars available.
Any WPopupMenu inside the left container gets cut-off at the scrollbar (see image attached).

When I temporarily remove Overflow::Auto the popup is shown correctly, but this is not the solution :-)

Affected version is Wt 4.5.0 and all web-browsers (IE, Edge, Firefox) using Windows 10.

This issue might be related to this:
https://redmine.webtoolkit.eu/issues/7404


Files

PopupCutOff.PNG (11.2 KB) PopupCutOff.PNG WPopupMenu cut off problem Stefan Bn, 01/12/2021 12:38 AM
PopupCutOffProblem.PNG (22.8 KB) PopupCutOffProblem.PNG Stefan Bn, 11/04/2021 02:48 PM
main.cpp (2.88 KB) main.cpp Stefan Bn, 11/04/2021 02:49 PM
#1

Updated by Stefan Bn about 1 year ago

I've created a code sample that demonstrates the problem. This referes to Wt 4.5.0 and Wt 4.5.1.

Thanks!
Stefan

#2

Updated by Stefan Bn 10 months ago

Note:

This issue still remains using Wt 4.6.1 and the new Bootstrap 5 Theme.

Also available in: Atom PDF