I was trying to implement another font via style class. However, the main theme (custom_servoy_theme_properties.less)'s font-family property is always overriding any type of font I try to implement elsewhere.
In my example, I was trying to implement the google font 'Lato' using a font-face but nothing was happening. Until, I placed it in that main font-family and then suddenly everything changed to 'Lato'.
Is this intended, that only one font-family can be applied per theme? Or is there another way of having multiple fonts applied overriding the theme's default.
How to have these co-exist, and not get overwritten by the main theme font.
- Code: Select all
.font-arial{
font-family: Arial, sans-serif;
font-size: 1.2rem;
color: black;
}
.font-different{
font-family: 'Lato', sans-serif;
font-size: 1.2rem;
color: black;
}
BLOCKY BUTTONS?
I was curious on why Servoy's default buttons are always blocky? With labels I seem to have more control.
1st row - Servoy Buttons
2nd Row - Labels I did
I have the same amount of padding and radius of border for both the buttons and labels, and yet the buttons are blocky. What's going on with that? Is there a way to make the Servoy Buttons not blocky, or will I have to use labels as a button to if I prefer that style?
Also for whatever reason, I can't get rid of borders for buttons, but I can for labels. Not sure why that is either.