Closed dossalab closed 6 years ago
make window border non-resizeable
You can try to set min size and max size, like this:
root {
min-width: 900px;
max-width: 900px;
min-height: 600px;
max-height: 600px;
}
This seems like a solution, but there are problems:
What do you think of the following solution?
min-width == max-width
, then disable window width adjustment, and the height is also.Completely agree
For the problem in your screenshot, LCUI dose not re-render content when resizing window, I found a solution:
https://www.gamedev.net/forums/topic/651599-rendering-freezing-when-dragresize-window/
Done.
...Or at least make window border non-resizeable (for example, if root width & height properties set in css)