Possibility to remember custom popup size in Mendix 5
When you change the size of popup window in the runtime, the window size isn't remember the next time when you open the popup again. This is default behavior of Mendix. Are there any plans to change this behaviour in Mendix 5? An extra option to remember the custom size for a specific form.
It is worth the effort to explore the possibility for a widget that stores the window size in a user related entity.
Create an entity formsize (formname, top, left, height, width) associated to user
Create a widget that is connected to this entity, (connect the name, left, top etc attributes)
At the close form (uninitialize?) find the surrounding div that is the popup window.
Find the formsize object or create one.
Store the values in the object
At opening of the form (loaded event?)
Find the formsize object for the user
Find the surrouding div (popup window)
Set the size, redraw screen
Timing is crucial, so the form must be rendered before resizing. Find the right events to connect to.