Pane size is different
Started JavaFX recently and ran into this problem where the pane size i set in my java code (1000x600) is not the same as the pane size in my Scene Builder (600x400). Aren't they supposed to be the same? Not sure what I'm doing wrong.
Java Code:


5 Replies
⌛
This post has been reserved for your question.
Hey @zeto! Please useTIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here./close
or theClose Post
button above when your problem is solved. Please remember to follow the help guidelines. This post will be automatically closed after 300 minutes of inactivity.
FXML Code:
💤
Post marked as dormant
This post has been inactive for over 300 minutes, thus, it has been archived.
If your question was not answered yet, feel free to re-open this post or create a new one.
In case your post is not getting any attention, you can try to use /help ping
.
Warning: abusing this will result in moderative actions taken against you.
Hi, you are literally setting the size in your FXML. Scene Builder do not care about your code.
💤
Post marked as dormant
This post has been inactive for over 300 minutes, thus, it has been archived.
If your question was not answered yet, feel free to re-open this post or create a new one.
In case your post is not getting any attention, you can try to use /help ping
.
Warning: abusing this will result in moderative actions taken against you.