Bug? Problem rendering material icons in an anchorpane or pane

stevel05

Expert
Licensed User
Longtime User
I am creating some AnchorPanes (it's the same with Panes) and adding labels to them. Then anchorpanes are then added to a table. Some of the labels have their font defined as MaterialIcon.

If all of the labels in the node have material icon as the font, it works as expected. If I add a label that doesn't have the material icon, then the Material Icon is not displayed on any label.

The example project shows this.
 

Attachments

  • MaterialIconsTest.zip
    3.9 KB · Views: 207

stevel05

Expert
Licensed User
Longtime User
Yes a strange one. The fonts can be mixed, if for instance the material icons are replaced with Serif (and text on the labels) it works.

It works with the cssutils fix, so thanks for that. I'll probably end up with a style sheet for the form anyway so I'll try adding it to that when I get round to doing it.
 
Last edited:
Top