Skip to content

Get screen size from Compose Desktop Windows #4107

Discussion options

You must be logged in to vote

This is my method

val rightBottom = GraphicsEnvironment.getLocalGraphicsEnvironment().maximumWindowBounds.rightBottom
val width = rightBottom.x
val height = rightBottom.y

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by tatarnikov-yura
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants