there is no built in 'drag to resize' functionality in compose correct?
Havent found any info online, searching here or libraries that do it.
Alex Styl
12/18/2024, 4:01 PM
Found
UndecoratedWindowResizer
on compose desktop. might be able to do something with it
s
Skaldebane
12/19/2024, 9:27 PM
I don't think so, probably needs to be done manually.
Skaldebane
12/19/2024, 9:30 PM
shouldn't be super hard though, but definitely not convenient, like setting up the drag zones, (which have to be large enough for touch), constraints, avoiding sudden layout shifts, but most of it is seems simple to do
a
Alex Styl
12/20/2024, 3:55 AM
Ended up implementing it from scratch. Doable but a lot of debugging to get the ux just right cause im on desktop (change cursor icon on hover, make sure it doesn't clash with other drag gestures, etc)