B4J Question Sytiling Tooltip with css

Firpas

Active Member
Licensed User
Longtime User
Hi to every body

Definition "Material icons" in buttons and labels should establish a large font size, however in the tooltip I would like a smaller font.

Is it possible to apply a different font size to the tooltip and the view?

Or how create a css entry for all tooltips?

Thanks
 

Firpas

Active Member
Licensed User
Longtime User
Solved

B4X:
.tooltip {
    -fx-background-radius: 2 2 2 2;
    -fx-background-color: linear-gradient(#FFFF99, #FFFF99);
    -fx-text-fill: black;
    -fx-font-size: 12px;
}
 
Upvote 0
Top