I'm having trouble with line spacing in a leaderboard I'm making in a little 2D platformer game.
Hanschen Do you have all the highscore names in one big multiline label with line breaks and then another big multiline label next to it with the scores? If that is the case then you should add one HBox for each highscore "line" that contains two labels, one for the name and one for the score. And then add ten of those HBox "lines".
Also where do the black and gray stripes come from? Is that just a background image?
Hanschen You need to show more about your scene tree setup. What is behind those labels? What theme settings do you have? Any containers?
Supererogatory This is the scene tree, I have a theme although that only changes the font.
Hanschen Do you have all the highscore names in one big multiline label with line breaks and then another big multiline label next to it with the scores? If that is the case then you should add one HBox for each highscore "line" that contains two labels, one for the name and one for the score. And then add ten of those HBox "lines".
Also where do the black and gray stripes come from? Is that just a background image?
Supererogatory Ok, thanks. Yeah the stripes are the BackgroundImage panel.
© 2022 - 2024 — McMap. All rights reserved.