uraza
uraza

Reputation: 957

SceneBuilder Tooltip over Label JavaFX

If I have a label with a text that's too long and I want a tooltip that shows the entire label text when I hover over the label with my mouse. Is that possible to do in SceneBuilder or do I have to do it programically for all my labels?

Upvotes: 11

Views: 11943

Answers (1)

James_D
James_D

Reputation: 209330

Under "Miscellaneous" in the Library pane (left side), you will find a "Tooltip". Just drag it and drop it onto the label in the Hierarchy pane below. Then you can select the tooltip and configure the text, etc.

enter image description here

Upvotes: 16

Related Questions