Just a small update based on the metro style I’ve created for the scroll bars, here’s the ScrollPane:
- ScrollPane Metro Light
- ScrollPane Metro Dark
I’ve also uploaded the code to the jfxtras-styles repository, so you can now get it from there also.
Just a small update based on the metro style I’ve created for the scroll bars, here’s the ScrollPane:
I’ve also uploaded the code to the jfxtras-styles repository, so you can now get it from there also.
Here is the Scroll Bar control with a metro style (light and dark theme):
There is a bug on javafx that won’t allow to change the style of the thumb when it is pressed.
The css code to style the thumb on this state is present on the stylesheets so the pressed state style of the thumb will become visible, whenever the bug disappears from the javafx runtime.
As a reminder, all you need to do to style your whole application with this metro style is to add the desired stylesheet (the dark or the light theme file) to the root node of the scene.
One thing that is on the to-do list for this project is changing the controls sizes to better accommodate touch. Some controls are too small right now for that.
On the future I’ll be adding this to the JFxtras repository so besides being able to get it from the usual place you’ll also be able to get it from there.
Another update to JMetro: Context Menu with a metro style.
The dark and light theme both have the same styling on this control:
You can’t see the mouse pointer because this was screen captured. It’s over the “Highlight” label.
You can get this from the usual place: https://www.dropbox.com/sh/xvx1w4535x1mjm6/ntbCK7PP9z
If you dig into the css code you’ll see that there’s also a commented out implementation of the tooltip control. Unfortunately JavaFX CSS for this control is currently faulty, so we’ll have to wait for another release of JavaFX to fix this.
One last note: if you haven’t submitted the survey to put JavaFX on mobile and tables, please do so here: http://fxexperience.com/2012/12/javafx-for-tablets-mobile/ . It will take you less than 5min and can make the difference between it actually happening or not.