JavaFX Tooltip customisation

前端 未结 1 1253
忘掉有多难
忘掉有多难 2020-12-21 17:28

I encountered the following issue using JavaFX.

Redefinition of tooltip style using stylesheet works in Java Scene Builder.

Redefinition of tooltip style at

相关标签:
1条回答
  • 2020-12-21 18:27

    The CSS properties you are trying to set for the Tooltip are only relavent to JavaFX classes that extend the Region class. The Tooltip is a child of the PopupControl class and, as such, has a more limited CSS property library. Here's a link to a list of available CSS properties for Tooltip. That site is your best reference for JavaFX CSS properties.

    0 讨论(0)
提交回复
热议问题