Welcome to the CSC Q&A, on our server named in honor of Ada Lovelace. Write great code! Get help and give help!
It is our choices... that show what we truly are, far more than our abilities.

Categories

+22 votes

I need help to put small images next to the options that are available in choiceBox. Do I have to code it or can it be done in scene builder ?

asked in CSC305 Fall 2022 by (1 point)

3 Answers

+11 votes
answered by (3.4k points)
+10 votes

You can try to use ImageView. You're going to need your images in a file in your project, but you can link those through Scene builder.
https://www.youtube.com/watch?v=ePT4maOtjVA
This guy gives an awesome explanation and demonstration on how to do it.

answered by (1 point)
+10 votes

I agree with the imageview object, it allows you to put images into your scene. You can if your savvy enough to change the image next to the choicebox to change images based on the choice from the box.

answered by (1 point)
...