JavaFX Tooltip customisation

前端 未结 1 1255
忘掉有多难
忘掉有多难 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)
提交回复
热议问题