You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The demo program rmlui_sample_demo.exe shows a responsive document window auto scaling with the main window. The auto scaling would not work if drag and move it somewhere.
Ah yes, this is really just how the handle element currently behaves, but I understand it might not be what one expects. When moving an element, the handle fixes the target's size, so that it doesn't accidentally resize it too. Hm, we could perhaps be smarter about how we do this though. Maybe it's fine to keep the right and bottom properties, but just adjust them accordingly so it doesn't change in size. I'll tinker a bit on it.
Ok, thanks for consideration. I think maybe separate them in different way? Like in web, an out-of-flow window uses absolute position and sets left, top, right and bottom to move and scale; an in-flow window uses margin in px and width and height in percent to move and scale. The out-of-flow window never scale with the outer container while the in-flow one does.
The issue
The demo program
rmlui_sample_demo.exe
shows a responsive document window auto scaling with the main window. The auto scaling would not work if drag and move it somewhere.How to reproduce
Execute
./Build/Debug/rmlui_sample_demo.exe
-> maximize window => works fineExecute
./Build/Debug/rmlui_sample_demo.exe
-> drag the document window somewhere -> maximize window => the document window is not scalingThe text was updated successfully, but these errors were encountered: