This time the Choice Box. Another control that’s not part of the windows framework (XAML UI Framework).
Update: The check mark that appears in the ChoiceBox popup has been changed.
This time the Choice Box. Another control that’s not part of the windows framework (XAML UI Framework).
Update: The check mark that appears in the ChoiceBox popup has been changed.
This time the DatePicker gets the jmetro treatment. Another control that is not part of the windows framework (XAML UI Framework) at least not in the form JavaFX presents it.
Here are the screen captures:
As always you can get this at: https://github.com/JFXtras/jfxtras-styles
It’s been a while since I’ve worked on JMetro.
This time a control that’s not part of the windows framework: the spinner.
I opted to style the control in its STYLE_CLASS_SPLIT_ARROWS_HORIZONTAL style, that is horizontal arrows split between left and right sides. To style the control you need to add the style you want to the StyleClass observable list:
spinner.getStyleClass().add(Spinner.STYLE_CLASS_SPLIT_ARROWS_HORIZONTAL);
the other possible styles are:
STYLE_CLASS_ARROWS_ON_LEFT_HORIZONTAL STYLE_CLASS_ARROWS_ON_LEFT_VERTICAL STYLE_CLASS_ARROWS_ON_RIGHT_HORIZONTAL STYLE_CLASS_SPLIT_ARROWS_VERTICAL
And here are the controls in their light and dark theme:
As always you can get this at jfxtras.
A small update to the Ribbon control: Contextual Ribbon Tabs.
Some controls should only appear when a particular object is selected because they only affect the configuration of that object. This is why Contextual Ribbon Tabs exist. They only appear when a particular object is selected and disappear when it looses its selection.
To differentiate themselves from regular Ribbon Tabs they appear with a different color, they can also be composed of more than one Tab. In the picture below the Contextual Ribbon Tab appears in blue.