JFXtras / jfxtras

A supporting library for JavaFX, containing helper classes, extended layouts, controls and other interesting widgets.
http://jfxtras.org
Other
599 stars 123 forks source link

Fix css issue with extended components #12

Closed bblonski closed 9 years ago

bblonski commented 9 years ago

An issue with how class names were being resolved caused several issues with CSS if the ListSpinner or Calendar* controls were exteded. Here's a fix with unit tests. Not sure why so many line endings are different.

tbee commented 9 years ago

Hm, indeed, extending will cause problems; the usage of this.getClass was relic from CalendarPicker being the first JFX control I ever wrote. Thanks.

bblonski commented 9 years ago

I figured it was something like that considering that it was correct in some places.