Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 639
uraza Avatar asked Jul 01 '15 13:07

uraza


1 Answers

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

like image 135
James_D Avatar answered Sep 28 '22 22:09

James_D