M micro Well-Known Member Licensed User Longtime User Aug 22, 2016 #1 Hi to all it's possible change text size in message for control fx notification? Thanks
Erel B4X founder Staff member Licensed User Longtime User Aug 22, 2016 #2 Based on this answer: http://stackoverflow.com/questions/33494089/customize-controlsfx-notifications 1. Create a file named style.css in the Files folder with this content: B4X: .notification-bar>.pane .label { -fx-font-size: 2.3em; -fx-text-fill: #000; -fx-alignment: top-left; } 2. Load the CSS file with: B4X: MainForm.Stylesheets.Add(File.GetUri(File.DirAssets, "style.css")) That's it. Upvote 0
Based on this answer: http://stackoverflow.com/questions/33494089/customize-controlsfx-notifications 1. Create a file named style.css in the Files folder with this content: B4X: .notification-bar>.pane .label { -fx-font-size: 2.3em; -fx-text-fill: #000; -fx-alignment: top-left; } 2. Load the CSS file with: B4X: MainForm.Stylesheets.Add(File.GetUri(File.DirAssets, "style.css")) That's it.
M micro Well-Known Member Licensed User Longtime User Aug 23, 2016 #3 Erel said: Based on this answer: http://stackoverflow.com/questions/33494089/customize-controlsfx-notifications Click to expand... Thanks Erel Upvote 0
Erel said: Based on this answer: http://stackoverflow.com/questions/33494089/customize-controlsfx-notifications Click to expand... Thanks Erel