dlsc-software-consulting-gmbh / GemsFX

A collection of JavaFX controls and utilities.
Apache License 2.0
453 stars 54 forks source link

CalendarPicker / TimePicker how to change icon (on the right othe text field) #108

Closed ouaibsky closed 5 months ago

ouaibsky commented 5 months ago

Hello

I would like to replace icon of those picker and use something like ikonly. Is there an easy way to do this ? I know we can configure with -fx-shape but it's pure SVG.

I notices that ikonly is already defines as a dependency. If not, does it make sens to propose a PR in that way ?

dlemmermann commented 5 months ago

No, it does not. We intentionally used SVG because it makes it possible to replace the icons via pure CSS. I am a big fan of Ikonli but for libs like GemsFX it makes a lot of sense to use SVG. We have a page on jfxcentral that gives you the SVG path for 50,000+ Ikonli icons. I am pretty sure you will find one there.

https://www.jfx-central.com/icons

Bildschirmfoto 2024-01-13 um 14 13 02
ouaibsky commented 4 months ago

Ok it makes sens Thanks you for hints. Chris.