https://kotlinlang.org logo
#compose-desktop
Title
# compose-desktop
a

Adam Brown

02/02/2023, 12:23 AM
does anyone have a
Dialog
that sizes it's self based on it's contents?
tried a custom layout inside the Dialog that then sets the dialog size, but it uh... didn't work well lol
a

Alexander Maryanovsky

02/03/2023, 11:55 AM
Use
Copy code
state = DialogState(
    width = Dp.Unspecified,
    height = Dp.Unspecified
)
20 Views