🎨 Updated resources
🐛 MFXCheckboxSkin: fix ripple container clip not having the correct radius in some occasions
🐛 MFXSliderSkin: do not set colors here otherwise CSS will fail to override
Signed-off-by: palexdev <alessandro.parisi406@gmail.com>
Some changes for PR #227🐛 The listeners for the centering should be handled by the property otherwise disabling the centering would not work anymore
✏️ Made some code style changes
Signed-off-by: palexdev <alessandro.parisi406@gmail.com>
🐛 The listeners for the centering should be handled by the property otherwise disabling the centering would not work anymore
✏️ Made some code style changes
Signed-off-by: palexdev <alessandro.parisi406@gmail.com>
This is to avoid conflicts on the classpath when using other MFX modules.
The newest MFXCore is not module "mfx.core" and causes exceptions at compile time
Signed-off-by: palexdev <alessandro.parisi406@gmail.com>
- not using onShowing but a listener on WindowEvent.WINDOW_SHOWING
- taking into account content can be set to null
Plus:
- removing the listeners when content changes
Beans Package
♻️ SizeBean: override toString() method
Controls Package
💥 Implement an API for controls that can be styled (almost all MFX controls). This API also allows SceneBuilder support for the new styling system introduced by version 11.14.0
Utils Package
✨ Improved When, OnChanged and OnInvalidated constructs by importing them from the latest version of MFXCore
✨ Added utility to detect SceneBuilder at runtime
Signed-off-by: palexdev <alessandro.parisi406@gmail.com>
One of the biggest issues MaterialFX has ever had since it's beginning was the difficulty in customizing the controls through CSS. The root cause of this has always been the bad and shitty management of stylesheets priority by JavaFX. While in the past patches were implemented to fix the issue, in more than one occasion they were just mitigations that would work or not depending on...I don't know. Because you see, another problem of using such shitty system is that it was actually quite hard to debug, a theme/stylesheet could work for me but not for the user, a nightmare
With this commit, we definitely ditch the garbage user agent system in favor of a theming API that is discussed in more details on the project's README
Signed-off-by: Alessadro Parisi <alessandro.parisi406@gmail.com>
♻️ MFXFilterComboBoxSkin: do not create a new instance of SimpleVirtualFlow, use the one in the superclass instead
🚚 Renamed GenericAddRemoveChange to NonIterableChange as it was causing compilation issues from time to time
Signed-off-by: Alessadro Parisi <alessandro.parisi406@gmail.com>
This minor version includes a bunch of kindly submitted PRs and some minor refactor.
Also, Gradle has been updated to version 7.6
Signed-off-by: Alessadro Parisi <alessandro.parisi406@gmail.com>