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?
Asked
Active
Viewed 1.1k times
1 Answers
15
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.

James_D
- 201,275
- 16
- 291
- 322
-
The problem I have is that the label is dynamic so the tooltip can't have a static text. – uraza Jul 02 '15 at 16:41
-
1Just set an `fx:id` on the tooltip, and then you can access it in the controller to dynamically update the text. – James_D Jul 02 '15 at 16:43
-
Yeah, that's what I thought I would need to do. So many labels though=S. Thought there was an easier way in SceneBuilder. Thanks for the help though! – uraza Jul 02 '15 at 16:51
-
how to show multi-line tooltip text using scenebuilder?. – Inzimam Tariq IT Mar 22 '17 at 10:44
-
Thanks a lot. This option in scene builder has saved a lot of code for my toolbar. – Fuzail Mar 30 '20 at 08:31