Mar 14, 2020 Replies: 2 Hi i make a simple Module for set css style on your proyect. BMStyle just load CSS files. Here you can see some examples: MAC OS: MIST SILVER: MODENA: BREEZE: NIGTH: FLAT BEE: METRO LIGHT: METRO DARK: HOW TO USE: B4X: 'BMStyle.ApplyTheme(Form as Form, Array() Themes) BMStyle.ApplyTheme(MainForm, Array as String("style.css")) 'You can add more files like BMStyle.ApplyTheme(MainForm, Array as String("style1.css","style2.css","style3.css")) NOTE: You have to import the CSS file into you Files DirAssets Click to expand... If you want the Metro Style, you can see this tutorial: [JavaFX] - Metro Style CSS Hello, I will show you how to install this Metro skin in your projects. It is a JavaFX css style that allows you to modify the controls, giving it a metro effect. I use JMetro CSS files from: https://github.com/JFXtras/jfxtras-styles/tree/master/jmetro/src/main/resources/jfxtras/styles/jmetro... www.b4x.com Click to expand... Attachments 1584219986333.png 41.2 KB · Views: 892 BMStyle Themes.zip BMStyle Themes.zip 32.8 KB · Views: 1,119 BMStyle.bas BMStyle.bas 493 bytes · Views: 998 Click to expand...
Hi i make a simple Module for set css style on your proyect. BMStyle just load CSS files. Here you can see some examples: MAC OS: MIST SILVER: MODENA: BREEZE: NIGTH: FLAT BEE: METRO LIGHT: METRO DARK: HOW TO USE: B4X: 'BMStyle.ApplyTheme(Form as Form, Array() Themes) BMStyle.ApplyTheme(MainForm, Array as String("style.css")) 'You can add more files like BMStyle.ApplyTheme(MainForm, Array as String("style1.css","style2.css","style3.css")) NOTE: You have to import the CSS file into you Files DirAssets Click to expand... If you want the Metro Style, you can see this tutorial: [JavaFX] - Metro Style CSS Hello, I will show you how to install this Metro skin in your projects. It is a JavaFX css style that allows you to modify the controls, giving it a metro effect. I use JMetro CSS files from: https://github.com/JFXtras/jfxtras-styles/tree/master/jmetro/src/main/resources/jfxtras/styles/jmetro... www.b4x.com Click to expand...