Actions
Support #12412
opendialog positions in wt3 vs wt4
Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
02/14/2024
Due date:
% Done:
0%
Estimated time:
Description
I'm trying to port an application wt3 to wt4. Now with dialogs I run into an issue.
We instantiate a dialog in the constructor and then from the menu we open it. In wt3
the dialog was shown in the center of the browser, this is what we want.
With wt4 though it is positioned in the top left. If I change the code to instantiate
the dialog from the event handler in the menu it is shown in the center again.
Am I doing something wrong here or is this a bug?
Attached the hello example with 2 buttons that each open a dialog. In wt3 they behave
the same, in wt4 one opens the dialog top-left and the other one in the center.
Files
No data to display
Actions