I want to change the default font with the following CSS and code:
But the font specified in the layout file is been overridden.
->
How can I change the default font while keeping the font specified in the layout?
CSS:
.text {
-fx-font-family: "SimSun";
}
B4X:
MainForm.Stylesheets.Add(File.GetUri(File.DirApp,"font.css"))
But the font specified in the layout file is been overridden.
How can I change the default font while keeping the font specified in the layout?