#javafx spacing with panes

15 messages · Page 1 of 1 (latest)

slender atlasBOT
#

This post has been reserved for your question.

Hey @tiny condor! Please use /close or the Close Post button above when you're finished. Please remember to follow the help guidelines. This post will be automatically closed after 300 minutes of inactivity.

TIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here.

tiny condor
#

i hv the set margins but how would i get those exact spacings?

#

this is how mine looks rn

#

i can show more code if needed im rlly trying to figure this out

tribal jacinth
#

Usually you set the "insets" property of the parent container to get a uniform spacing, then use margin on each element that needs custom spacing

tiny condor
#

im pretty new to using javafx

#

how would the padding affect it

tribal jacinth
#

ah here

#

there is iterally a spacing property

#

also wouldn't it be easier to do this via FXML?

tiny condor
slender atlasBOT
# tiny condor oh i see thanks

If you are finished with your post, please close it.
If you are not, please ignore this message.
Note that you will not be able to send further messages here after this post have been closed but you will be able to create new posts.