Search code examples
javafxlabeltooltipscenebuilder

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?


Solution

  • 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