Hi,
I use the Questrial-Regular on my app, all nativescript components is using this font style, but i'm unable to style dataform to use the font.
This is my code:
app.css
* {
font-family: Questrial-Regular, questrial-regular-webfont !important;
}
My dataform html
<RadDataForm tkExampleTitle tkToggleNavButton #newServerForm [source]="newServer" (editorUpdate)="onSet($event)">
<TKEntityProperty tkDataFormProperty name="port" displayName="{{ 'msg_port' | translate }}" index="2">
<TKPropertyEditor tkEntityPropertyEditor type="Number"><TKPropertyEditorStyle tkPropertyEditorStyle labelFontStyle="red"></TKPropertyEditorStyle></TKPropertyEditor>
<TKNonEmptyValidator tkEntityPropertyValidators errorMessage="{{ 'msg_error_port_empty' | translate }}"></TKNonEmptyValidator>
</TKEntityProperty>
</RadDataForm>
My dataform component
public onSet(args) {
this._portEditor.propertyEditorStyle.labelFontName = "Questrial-Regular";
this._portEditor.propertyEditorStyle.labelTextSize = 20;
this._portEditor.propertyEditorStyle.labelTextColor = "orange";
}
I'm able to change the font color and size but not the fontname.
I already try with different name like Questrial, questrial-regular, questrial.
Can you help me on this?