Open ordo-n opened 2 months ago
I managed to get a fix working;
tWinDialog.resize("50%", "50%"); tWinDialog.move("center", "center"); tWinDialog.restore();
It just needs the .restore function calling.
I'll keep this issue open on the off chance that developers familiar with the source code believe restore should be automatically called after the resize. Else please close the issue. Thank-you.
When I run this code
winbox.resize("50%", "50%");
The window is resized but it loses the border styling, in particular the rounded border, it becomes straight
Using the maximize button and minimize button after this restores the styling so there seems to be a problem with the resize function