Project

General

Profile

Actions

Bug #7974

open

WPopupMenu gets cut off at layout-boundaries/scrollbars

Added by Stefan Bn over 3 years ago. Updated about 2 years 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

Updated by Stefan Bn over 2 years 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

Actions #2

Updated by Stefan Bn about 2 years ago

Note:

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

Actions

Also available in: Atom PDF