Project

General

Profile

DateEdit in dialog - cutting off calendar popup

Added by Gavin Blakeman over 4 years ago

Hi

I have a WDateEdit positioned in a modal dialog. With the size of the dialog, when the calendar is opened, it is cut-off by the edge of the dialog. IE it is not allowed to extend beyond the borders of the dialog.

Are there any work arounds for this, or am I missing something.

Thank you in advance


Replies (5)

RE: DateEdit in dialog - cutting off calendar popup - Added by Stefan Bn over 4 years ago

I guess this is related to the problem with popups being cut off at certain borders. This was reported by different users and I didn't see a solution yet. Maybe one of the Wt developers could give some insights?

See this thread:

https://redmine.webtoolkit.eu/boards/2/topics/15850?r=15905#message-15905

I experience the same, see image attached.

RE: DateEdit in dialog - cutting off calendar popup - Added by Roel Standaert over 4 years ago

I believe this is essentially this issue: https://redmine.webtoolkit.eu/issues/7139

It was only fixed on master, so should be fixed in Wt 4.2.0.

RE: DateEdit in dialog - cutting off calendar popup - Added by Stefan Bn over 4 years ago

This issue remains for me with Wt 4.2.0!

Date picker and other popup menus get cut off on the boundaries of panels, as shown in the attached image from my previous post (date picker popup cut off.PNG)

RE: DateEdit in dialog - cutting off calendar popup - Added by Roel Standaert over 4 years ago

Hello Stefan,

It looks like your issue is still different. Can you make a new issue for this, preferably with some example code?

I'll attach what I've got, but that's working properly.

Regards,

Roel

RE: DateEdit in dialog - cutting off calendar popup - Added by Stefan Bn over 4 years ago

Thanks for the minimal sample Roel!

I extentend it so that it resembles my layout configuration and got the same behavior.

Issue created:

https://redmine.webtoolkit.eu/issues/7404

    (1-5/5)