-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Slider
koolskateguy89 edited this page Apr 29, 2021
·
2 revisions
The JFXSlider
is a material design compliant implementation of a slider for JavaFX.
JFXSlider
uses the default style class .jfx-slider
and defines the following CSS properties.
CSS Property | Values | Default |
---|---|---|
-jfx-indicator-position | LEFT,RIGHT | RIGHT |
/* Styling the slider track */
.jfx-slider > .track {
-fx-background-color: yellow;
}
/* Styling the slider thumb */
.jfx-slider > .thumb {
-fx-background-color: green;
}
/* Styling the filled track */
.jfx-slider > .colored-track {
-fx-background-color: green;
}
/* Styling the animated thumb */
.jfx-slider > .animated-thumb {
-fx-background-color: green;
}
/* Styling the slider value text inside animated thumb */
.jfx-slider .slider-value {
-fx-fill: white;
-fx-stroke: white;
}
- Introduction
-
Basic Components
- Button
- Check Box
- Combo Box
- Hamburger
- Input Fields
- Progress Bar
- Radio Button
- Rippler
- Scroll Pane
- Slider
- Spinner
- Tab Pane
- Toggle Button
-
Advanced Components
- Badge
- Decorator
- Dialog
- Drawer
- List View
- Masonry
- Pickers
- Popup
- Snack Bar
- Tree Table View