Hi folks, is possible to adjust the Window size to...
# compose-desktop
s
Hi folks, is possible to adjust the Window size to the space that my components take on the screen? I want to achieve something like this (prints in the thread)
message has been deleted
message has been deleted
t
Best you just set your window size to a static size and resize is every time the list gets updated
Copy code
AppManager.windows.first().setSize(width, height)
t
I think this was alread discussed in a thread. At this time there where no out of the box solution. So you have to do it by hand. S.th. like wrap your UI with a Modifier.wrapContentSize and measure the size to set the window size.