O
O
ojiekcahdp2021-11-29 20:49:03
JavaFX
ojiekcahdp, 2021-11-29 20:49:03

How to adapt application to JavaFx screen size?

Hello! Faced with the problem that if you set the specified coordinates for objects, then when you change the window size, they do not adjust to the screen, in principle it is logical. I know that in css there is an opportunity to make adaptation, but in javafx for the life of me, there is no guesswork.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Alexandrov, 2021-11-29
@jamakasi666

javafx also has css .
But in order to do it wisely, you need to use pane or a set of them to achieve the desired result, possibly in conjunction with code to work out interesting situations.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question