Open Rdornier opened 1 year ago
It should be possible to use pretty much any JavaFX Node
- for example an icon from FontAwesome through ControlsFX.
(I still plan to revisit the OMERO extension, but haven't even quite manage to 'finish' releasing v0.4.0 yet - currently working on updating StarDist first.)
Thanks for your fast answer.
By looking at the link you gave, I manage to replace IconFactory.createNode(QuPathGUI.TOOLBAR_ICON_SIZE, QuPathGUI.TOOLBAR_ICON_SIZE, IconFactory.PathIcons.STAR)
by GlyphFontRegistry.font("icomoon").create("\u2605").size(QuPathGUI.TOOLBAR_ICON_SIZE).color(javafx.scene.paint.Color.GRAY)
and no more error is then thrown.
Thanks again for your help Best,
Rémy.
I've transferred this issue, since the icon was intentionally removed from QuPath (I presume...) - but a replacement needs to be added here.
Bug report
Describe the bug
IconFactory.PathIcons.STAR
doesn't exists anymore and seems to not be replaced by any other icon (code here). This icon was used to show rating stars from OMERO when the user right clicks on an image from the OMERO browser and click onmore info
(line that does not compile anymore is here). If the image contains a rating on OMERO, then it throws an error and the menu does not appear.To Reproduce Steps to reproduce the behavior:
Expected behavior Having the menu appears with star icons. Is there a way to replace this line by something else (other icons stored somewhere else) ?
Desktop (please complete the following information):