mirror of
https://github.com/Yubico/yubioath-flutter.git
synced 2024-11-25 05:52:40 +03:00
fonts: load roboto-medium and roboto-light
This commit is contained in:
parent
d5acbfe9f5
commit
5cc2bc04c8
19
qml/main.qml
19
qml/main.qml
@ -91,14 +91,25 @@ ApplicationWindow {
|
||||
|
||||
Component.onDestruction: saveScreenLayout()
|
||||
|
||||
|
||||
FontLoader {
|
||||
id: roboto;
|
||||
name: "Roboto"
|
||||
id: robotoRegular;
|
||||
name: "Roboto-Regular"
|
||||
source: "../fonts/Roboto-Regular.ttf"
|
||||
}
|
||||
|
||||
font.family: roboto.name
|
||||
FontLoader {
|
||||
id: robotoMedium;
|
||||
name: "Roboto-Medium"
|
||||
source: "../fonts/Roboto-Medium.ttf"
|
||||
}
|
||||
|
||||
FontLoader {
|
||||
id: robotoLight;
|
||||
name: "Roboto-Light"
|
||||
source: "../fonts/Roboto-Light.ttf"
|
||||
}
|
||||
|
||||
font.family: robotoRegular.name
|
||||
|
||||
|
||||
function enableLogging(logLevel) {
|
||||
|
Loading…
Reference in New Issue
Block a user