Correct typo weight #LINQT-2078
This commit is contained in:
parent
a7c8e8db90
commit
f2e49f21b0
9 changed files with 49 additions and 48 deletions
|
|
@ -21,7 +21,7 @@ ComboBox {
|
||||||
verticalAlignment: Text.AlignVCenter
|
verticalAlignment: Text.AlignVCenter
|
||||||
font {
|
font {
|
||||||
pixelSize: Utils.getSizeWithScreenRatio(14)
|
pixelSize: Utils.getSizeWithScreenRatio(14)
|
||||||
weight: Math.min(Utils.getSizeWithScreenRatio(700), 1000)
|
weight: Font.Bold
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
popup: Control.Popup {
|
popup: Control.Popup {
|
||||||
|
|
|
||||||
|
|
@ -223,7 +223,7 @@ Control.ComboBox {
|
||||||
font {
|
font {
|
||||||
family: DefaultStyle.defaultFont
|
family: DefaultStyle.defaultFont
|
||||||
pixelSize: Utils.getSizeWithScreenRatio(15)
|
pixelSize: Utils.getSizeWithScreenRatio(15)
|
||||||
weight: Math.min(Utils.getSizeWithScreenRatio(400), 1000)
|
weight: Font.Normal
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -876,4 +876,4 @@ function getSizeWithScreenRatio(size){
|
||||||
: size > 0
|
: size > 0
|
||||||
? Math.max(Math.round(size * Linphone.DefaultStyle.dp), 1)
|
? Math.max(Math.round(size * Linphone.DefaultStyle.dp), 1)
|
||||||
: Math.min(Math.round(size * Linphone.DefaultStyle.dp), -1);
|
: Math.min(Math.round(size * Linphone.DefaultStyle.dp), -1);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -108,7 +108,7 @@ FocusScope {
|
||||||
id: startDate
|
id: startDate
|
||||||
background.visible: mainItem.isCreation
|
background.visible: mainItem.isCreation
|
||||||
indicator.visible: mainItem.isCreation
|
indicator.visible: mainItem.isCreation
|
||||||
contentText.font.weight: Math.min(Utils.getSizeWithScreenRatio(isCreation ? 700 : 400), 1000)
|
contentText.font.weight: isCreation ? Font.Bold : Font.Normal
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
Layout.preferredHeight: Utils.getSizeWithScreenRatio(30)
|
Layout.preferredHeight: Utils.getSizeWithScreenRatio(30)
|
||||||
KeyNavigation.up: confTitle
|
KeyNavigation.up: confTitle
|
||||||
|
|
@ -134,7 +134,7 @@ FocusScope {
|
||||||
Layout.preferredWidth: Utils.getSizeWithScreenRatio(94)
|
Layout.preferredWidth: Utils.getSizeWithScreenRatio(94)
|
||||||
Layout.preferredHeight: Utils.getSizeWithScreenRatio(30)
|
Layout.preferredHeight: Utils.getSizeWithScreenRatio(30)
|
||||||
background.visible: mainItem.isCreation
|
background.visible: mainItem.isCreation
|
||||||
contentText.font.weight: Math.min(Utils.getSizeWithScreenRatio(isCreation ? 700 : 400), 1000)
|
contentText.font.weight: isCreation ? Font.Bold : Font.Normal
|
||||||
KeyNavigation.up: startDate
|
KeyNavigation.up: startDate
|
||||||
KeyNavigation.down: timeZoneCbox
|
KeyNavigation.down: timeZoneCbox
|
||||||
KeyNavigation.left: endHour
|
KeyNavigation.left: endHour
|
||||||
|
|
@ -154,7 +154,7 @@ FocusScope {
|
||||||
Layout.preferredWidth: Utils.getSizeWithScreenRatio(94)
|
Layout.preferredWidth: Utils.getSizeWithScreenRatio(94)
|
||||||
Layout.preferredHeight: Utils.getSizeWithScreenRatio(30)
|
Layout.preferredHeight: Utils.getSizeWithScreenRatio(30)
|
||||||
background.visible: mainItem.isCreation
|
background.visible: mainItem.isCreation
|
||||||
contentText.font.weight: Math.min(Utils.getSizeWithScreenRatio(isCreation ? 700 : 400), 1000)
|
contentText.font.weight: isCreation ? Font.Bold : Font.Normal
|
||||||
onSelectedDateTimeChanged: mainItem.conferenceInfoGui.core.endDateTime = selectedDateTime
|
onSelectedDateTimeChanged: mainItem.conferenceInfoGui.core.endDateTime = selectedDateTime
|
||||||
KeyNavigation.up: startDate
|
KeyNavigation.up: startDate
|
||||||
KeyNavigation.down: timeZoneCbox
|
KeyNavigation.down: timeZoneCbox
|
||||||
|
|
|
||||||
|
|
@ -138,9 +138,13 @@ AbstractMainPage {
|
||||||
ColumnLayout {
|
ColumnLayout {
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
spacing: 0
|
spacing: 0
|
||||||
RowLayout {
|
FlexboxLayout {
|
||||||
id: titleCallLayout
|
id: titleCallLayout
|
||||||
spacing: Utils.getSizeWithScreenRatio(16)
|
direction: FlexboxLayout.Row
|
||||||
|
gap: Utils.getSizeWithScreenRatio(16)
|
||||||
|
alignItems: FlexboxLayout.AlignCenter
|
||||||
|
Layout.rightMargin: Utils.getSizeWithScreenRatio(39)
|
||||||
|
Layout.fillHeight: false
|
||||||
Text {
|
Text {
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
//: "Appels"
|
//: "Appels"
|
||||||
|
|
@ -149,9 +153,6 @@ AbstractMainPage {
|
||||||
font.pixelSize: Typography.h2.pixelSize
|
font.pixelSize: Typography.h2.pixelSize
|
||||||
font.weight: Typography.h2.weight
|
font.weight: Typography.h2.weight
|
||||||
}
|
}
|
||||||
Item {
|
|
||||||
Layout.fillWidth: true
|
|
||||||
}
|
|
||||||
PopupButton {
|
PopupButton {
|
||||||
id: removeHistory
|
id: removeHistory
|
||||||
icon.width: Utils.getSizeWithScreenRatio(24)
|
icon.width: Utils.getSizeWithScreenRatio(24)
|
||||||
|
|
@ -190,7 +191,6 @@ AbstractMainPage {
|
||||||
icon.source: AppIcons.newCall
|
icon.source: AppIcons.newCall
|
||||||
Layout.preferredWidth: Utils.getSizeWithScreenRatio(34)
|
Layout.preferredWidth: Utils.getSizeWithScreenRatio(34)
|
||||||
Layout.preferredHeight: Utils.getSizeWithScreenRatio(34)
|
Layout.preferredHeight: Utils.getSizeWithScreenRatio(34)
|
||||||
Layout.rightMargin: Utils.getSizeWithScreenRatio(39)
|
|
||||||
icon.width: Utils.getSizeWithScreenRatio(28)
|
icon.width: Utils.getSizeWithScreenRatio(28)
|
||||||
icon.height: Utils.getSizeWithScreenRatio(28)
|
icon.height: Utils.getSizeWithScreenRatio(28)
|
||||||
KeyNavigation.left: removeHistory
|
KeyNavigation.left: removeHistory
|
||||||
|
|
|
||||||
|
|
@ -96,8 +96,12 @@ AbstractMainPage {
|
||||||
ColumnLayout {
|
ColumnLayout {
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
spacing: 0
|
spacing: 0
|
||||||
RowLayout {
|
FlexboxLayout {
|
||||||
spacing: Utils.getSizeWithScreenRatio(16)
|
direction: FlexboxLayout.Row
|
||||||
|
gap: Utils.getSizeWithScreenRatio(16)
|
||||||
|
alignItems: FlexboxLayout.AlignCenter
|
||||||
|
Layout.rightMargin: Utils.getSizeWithScreenRatio(39)
|
||||||
|
Layout.fillHeight: false
|
||||||
Text {
|
Text {
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
//: "Conversations"
|
//: "Conversations"
|
||||||
|
|
@ -106,9 +110,6 @@ AbstractMainPage {
|
||||||
font.pixelSize: Typography.h2.pixelSize
|
font.pixelSize: Typography.h2.pixelSize
|
||||||
font.weight: Typography.h2.weight
|
font.weight: Typography.h2.weight
|
||||||
}
|
}
|
||||||
Item {
|
|
||||||
Layout.fillWidth: true
|
|
||||||
}
|
|
||||||
PopupButton {
|
PopupButton {
|
||||||
id: chatListMenu
|
id: chatListMenu
|
||||||
width: Utils.getSizeWithScreenRatio(24)
|
width: Utils.getSizeWithScreenRatio(24)
|
||||||
|
|
@ -137,7 +138,6 @@ AbstractMainPage {
|
||||||
icon.source: AppIcons.plusCircle
|
icon.source: AppIcons.plusCircle
|
||||||
Layout.preferredWidth: Utils.getSizeWithScreenRatio(28)
|
Layout.preferredWidth: Utils.getSizeWithScreenRatio(28)
|
||||||
Layout.preferredHeight: Utils.getSizeWithScreenRatio(28)
|
Layout.preferredHeight: Utils.getSizeWithScreenRatio(28)
|
||||||
Layout.rightMargin: Utils.getSizeWithScreenRatio(39)
|
|
||||||
icon.width: Utils.getSizeWithScreenRatio(28)
|
icon.width: Utils.getSizeWithScreenRatio(28)
|
||||||
icon.height: Utils.getSizeWithScreenRatio(28)
|
icon.height: Utils.getSizeWithScreenRatio(28)
|
||||||
KeyNavigation.down: searchBar
|
KeyNavigation.down: searchBar
|
||||||
|
|
|
||||||
|
|
@ -213,25 +213,25 @@ FriendGui{
|
||||||
Layout.fillHeight: true
|
Layout.fillHeight: true
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
|
|
||||||
RowLayout {
|
FlexboxLayout {
|
||||||
id: title
|
id: title
|
||||||
spacing: 0
|
direction: FlexboxLayout.Row
|
||||||
|
gap: Utils.getSizeWithScreenRatio(16)
|
||||||
|
alignItems: FlexboxLayout.AlignCenter
|
||||||
anchors.top: leftPanel.top
|
anchors.top: leftPanel.top
|
||||||
anchors.right: leftPanel.right
|
anchors.right: leftPanel.right
|
||||||
anchors.left: leftPanel.left
|
anchors.left: leftPanel.left
|
||||||
anchors.leftMargin: leftPanel.leftMargin
|
anchors.leftMargin: leftPanel.leftMargin
|
||||||
anchors.rightMargin: leftPanel.rightMargin
|
anchors.rightMargin: leftPanel.rightMargin
|
||||||
|
Layout.fillHeight: false
|
||||||
Text {
|
Text {
|
||||||
|
Layout.fillWidth: true
|
||||||
//: "Contacts"
|
//: "Contacts"
|
||||||
text: qsTr("bottom_navigation_contacts_label")
|
text: qsTr("bottom_navigation_contacts_label")
|
||||||
color: DefaultStyle.main2_700
|
color: DefaultStyle.main2_700
|
||||||
font.pixelSize: Typography.h2.pixelSize
|
font.pixelSize: Typography.h2.pixelSize
|
||||||
font.weight: Typography.h2.weight
|
font.weight: Typography.h2.weight
|
||||||
}
|
}
|
||||||
Item {
|
|
||||||
Layout.fillWidth: true
|
|
||||||
}
|
|
||||||
Button {
|
Button {
|
||||||
id: createContactButton
|
id: createContactButton
|
||||||
visible: !rightPanelStackView.currentItem
|
visible: !rightPanelStackView.currentItem
|
||||||
|
|
|
||||||
|
|
@ -177,11 +177,13 @@ AbstractMainPage {
|
||||||
ColumnLayout {
|
ColumnLayout {
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
spacing: 0
|
spacing: 0
|
||||||
RowLayout {
|
FlexboxLayout {
|
||||||
Layout.rightMargin: Utils.getSizeWithScreenRatio(38)
|
direction: FlexboxLayout.Row
|
||||||
|
gap: Utils.getSizeWithScreenRatio(16)
|
||||||
|
alignItems: FlexboxLayout.AlignCenter
|
||||||
|
Layout.rightMargin: Utils.getSizeWithScreenRatio(39)
|
||||||
Layout.alignment: Qt.AlignTop
|
Layout.alignment: Qt.AlignTop
|
||||||
Layout.fillWidth: true
|
Layout.fillHeight: false
|
||||||
spacing: 0
|
|
||||||
Text {
|
Text {
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
//: Réunions
|
//: Réunions
|
||||||
|
|
@ -190,7 +192,6 @@ AbstractMainPage {
|
||||||
font.pixelSize: Typography.h2.pixelSize
|
font.pixelSize: Typography.h2.pixelSize
|
||||||
font.weight: Typography.h2.weight
|
font.weight: Typography.h2.weight
|
||||||
}
|
}
|
||||||
Item{Layout.fillWidth: true}
|
|
||||||
Button {
|
Button {
|
||||||
id: newConfButton
|
id: newConfButton
|
||||||
style: ButtonStyle.noBackground
|
style: ButtonStyle.noBackground
|
||||||
|
|
|
||||||
|
|
@ -8,132 +8,132 @@ QtObject {
|
||||||
property font h4: Qt.font( {
|
property font h4: Qt.font( {
|
||||||
family: DefaultStyle.defaultFont,
|
family: DefaultStyle.defaultFont,
|
||||||
pixelSize: Utils.getSizeWithScreenRatio(16),
|
pixelSize: Utils.getSizeWithScreenRatio(16),
|
||||||
weight: Math.min(Utils.getSizeWithScreenRatio(800), 1000)
|
weight: Font.ExtraBold
|
||||||
})
|
})
|
||||||
|
|
||||||
// Title/H3M - Bloc title
|
// Title/H3M - Bloc title
|
||||||
property font h3m: Qt.font( {
|
property font h3m: Qt.font( {
|
||||||
family: DefaultStyle.defaultFont,
|
family: DefaultStyle.defaultFont,
|
||||||
pixelSize: Utils.getSizeWithScreenRatio(16),
|
pixelSize: Utils.getSizeWithScreenRatio(16),
|
||||||
weight: Math.min(Utils.getSizeWithScreenRatio(700), 1000)
|
weight: Font.Bold
|
||||||
})
|
})
|
||||||
|
|
||||||
// Title/H3 - Bloc title
|
// Title/H3 - Bloc title
|
||||||
property font h3: Qt.font( {
|
property font h3: Qt.font( {
|
||||||
family: DefaultStyle.defaultFont,
|
family: DefaultStyle.defaultFont,
|
||||||
pixelSize: Utils.getSizeWithScreenRatio(22),
|
pixelSize: Utils.getSizeWithScreenRatio(22),
|
||||||
weight: Math.min(Utils.getSizeWithScreenRatio(800), 1000)
|
weight: Font.ExtraBold
|
||||||
})
|
})
|
||||||
|
|
||||||
// Title/H2M - Large bloc title
|
// Title/H2M - Large bloc title
|
||||||
property font h2m: Qt.font( {
|
property font h2m: Qt.font( {
|
||||||
family: DefaultStyle.defaultFont,
|
family: DefaultStyle.defaultFont,
|
||||||
pixelSize: Utils.getSizeWithScreenRatio(20),
|
pixelSize: Utils.getSizeWithScreenRatio(20),
|
||||||
weight: Math.min(Utils.getSizeWithScreenRatio(800), 1000)
|
weight: Font.ExtraBold
|
||||||
})
|
})
|
||||||
|
|
||||||
// Title/H2 - Large bloc title
|
// Title/H2 - Large bloc title
|
||||||
property font h2: Qt.font( {
|
property font h2: Qt.font( {
|
||||||
family: DefaultStyle.defaultFont,
|
family: DefaultStyle.defaultFont,
|
||||||
pixelSize: Utils.getSizeWithScreenRatio(29),
|
pixelSize: Utils.getSizeWithScreenRatio(29),
|
||||||
weight: Math.min(Utils.getSizeWithScreenRatio(800), 1000)
|
weight: Font.ExtraBold
|
||||||
})
|
})
|
||||||
|
|
||||||
// Title/H1 - Large bloc title
|
// Title/H1 - Large bloc title
|
||||||
property font h1: Qt.font( {
|
property font h1: Qt.font( {
|
||||||
family: DefaultStyle.defaultFont,
|
family: DefaultStyle.defaultFont,
|
||||||
pixelSize: Utils.getSizeWithScreenRatio(36),
|
pixelSize: Utils.getSizeWithScreenRatio(36),
|
||||||
weight: Math.min(Utils.getSizeWithScreenRatio(800), 1000)
|
weight: Font.ExtraBold
|
||||||
})
|
})
|
||||||
|
|
||||||
// Text/P4 - Xsmall paragraph text
|
// Text/P4 - Xsmall paragraph text
|
||||||
property font p4: Qt.font( {
|
property font p4: Qt.font( {
|
||||||
family: DefaultStyle.defaultFont,
|
family: DefaultStyle.defaultFont,
|
||||||
pixelSize: Utils.getSizeWithScreenRatio(10),
|
pixelSize: Utils.getSizeWithScreenRatio(10),
|
||||||
weight: Math.min(Utils.getSizeWithScreenRatio(300), 1000)
|
weight: Font.Light
|
||||||
})
|
})
|
||||||
|
|
||||||
// Text/P3 - Reduced paragraph text
|
// Text/P3 - Reduced paragraph text
|
||||||
property font p3: Qt.font( {
|
property font p3: Qt.font( {
|
||||||
family: DefaultStyle.defaultFont,
|
family: DefaultStyle.defaultFont,
|
||||||
pixelSize: Utils.getSizeWithScreenRatio(12),
|
pixelSize: Utils.getSizeWithScreenRatio(12),
|
||||||
weight: Math.min(Utils.getSizeWithScreenRatio(300), 1000)
|
weight: Font.Light
|
||||||
})
|
})
|
||||||
|
|
||||||
// Text/P2 - Bold, reduced paragraph text
|
// Text/P2 - Bold, reduced paragraph text
|
||||||
property font p2: Qt.font( {
|
property font p2: Qt.font( {
|
||||||
family: DefaultStyle.defaultFont,
|
family: DefaultStyle.defaultFont,
|
||||||
pixelSize: Utils.getSizeWithScreenRatio(13),
|
pixelSize: Utils.getSizeWithScreenRatio(13),
|
||||||
weight: Math.min(Utils.getSizeWithScreenRatio(700), 1000)
|
weight: Font.Bold
|
||||||
})
|
})
|
||||||
|
|
||||||
// Text/P2l - Large Bold, reduced paragraph text
|
// Text/P2l - Large Bold, reduced paragraph text
|
||||||
property font p2l: Qt.font( {
|
property font p2l: Qt.font( {
|
||||||
family: DefaultStyle.defaultFont,
|
family: DefaultStyle.defaultFont,
|
||||||
pixelSize: Utils.getSizeWithScreenRatio(14),
|
pixelSize: Utils.getSizeWithScreenRatio(14),
|
||||||
weight: Math.min(Utils.getSizeWithScreenRatio(700), 1000)
|
weight: Font.Bold
|
||||||
})
|
})
|
||||||
|
|
||||||
// Text/P1 - Paragraph text
|
// Text/P1 - Paragraph text
|
||||||
property font p1: Qt.font( {
|
property font p1: Qt.font( {
|
||||||
family: DefaultStyle.defaultFont,
|
family: DefaultStyle.defaultFont,
|
||||||
pixelSize: Utils.getSizeWithScreenRatio(14),
|
pixelSize: Utils.getSizeWithScreenRatio(14),
|
||||||
weight: Math.min(Utils.getSizeWithScreenRatio(400), 1000)
|
weight: Font.Normal
|
||||||
})
|
})
|
||||||
|
|
||||||
// Text/P1s - Paragraph text
|
// Text/P1s - Paragraph text
|
||||||
property font p1s: Qt.font( {
|
property font p1s: Qt.font( {
|
||||||
family: DefaultStyle.defaultFont,
|
family: DefaultStyle.defaultFont,
|
||||||
pixelSize: Utils.getSizeWithScreenRatio(13),
|
pixelSize: Utils.getSizeWithScreenRatio(13),
|
||||||
weight: Math.min(Utils.getSizeWithScreenRatio(400), 1000)
|
weight: Font.Normal
|
||||||
})
|
})
|
||||||
|
|
||||||
// Text/P1 - Paragraph text
|
// Text/P1 - Paragraph text
|
||||||
property font p1b: Qt.font( {
|
property font p1b: Qt.font( {
|
||||||
family: DefaultStyle.defaultFont,
|
family: DefaultStyle.defaultFont,
|
||||||
pixelSize: Utils.getSizeWithScreenRatio(15),
|
pixelSize: Utils.getSizeWithScreenRatio(15),
|
||||||
weight: Math.min(Utils.getSizeWithScreenRatio(400), 1000)
|
weight: Font.Normal
|
||||||
})
|
})
|
||||||
|
|
||||||
// Button/B1 - Big Button
|
// Button/B1 - Big Button
|
||||||
property font b1: Qt.font( {
|
property font b1: Qt.font( {
|
||||||
family: DefaultStyle.defaultFont,
|
family: DefaultStyle.defaultFont,
|
||||||
pixelSize: Utils.getSizeWithScreenRatio(18),
|
pixelSize: Utils.getSizeWithScreenRatio(18),
|
||||||
weight: Math.min(Utils.getSizeWithScreenRatio(600), 1000)
|
weight: Font.DemiBold
|
||||||
})
|
})
|
||||||
|
|
||||||
// Button/B2 - Medium Button
|
// Button/B2 - Medium Button
|
||||||
property font b2: Qt.font( {
|
property font b2: Qt.font( {
|
||||||
family: DefaultStyle.defaultFont,
|
family: DefaultStyle.defaultFont,
|
||||||
pixelSize: Utils.getSizeWithScreenRatio(15),
|
pixelSize: Utils.getSizeWithScreenRatio(15),
|
||||||
weight: Math.min(Utils.getSizeWithScreenRatio(600), 1000)
|
weight: Font.DemiBold
|
||||||
})
|
})
|
||||||
|
|
||||||
// Button/B3 - Small Button
|
// Button/B3 - Small Button
|
||||||
property font b3: Qt.font( {
|
property font b3: Qt.font( {
|
||||||
family: DefaultStyle.defaultFont,
|
family: DefaultStyle.defaultFont,
|
||||||
pixelSize: Utils.getSizeWithScreenRatio(13),
|
pixelSize: Utils.getSizeWithScreenRatio(13),
|
||||||
weight: Math.min(Utils.getSizeWithScreenRatio(600), 1000)
|
weight: Font.DemiBold
|
||||||
})
|
})
|
||||||
|
|
||||||
// FileView/F1 - File View name text
|
// FileView/F1 - File View name text
|
||||||
property font f1: Qt.font( {
|
property font f1: Qt.font( {
|
||||||
family: DefaultStyle.defaultFont,
|
family: DefaultStyle.defaultFont,
|
||||||
pixelSize: Utils.getSizeWithScreenRatio(11),
|
pixelSize: Utils.getSizeWithScreenRatio(11),
|
||||||
weight: Math.min(Utils.getSizeWithScreenRatio(700), 1000)
|
weight: Font.Bold
|
||||||
})
|
})
|
||||||
|
|
||||||
// FileView/F1light - File View size text
|
// FileView/F1light - File View size text
|
||||||
property font f1l: Qt.font( {
|
property font f1l: Qt.font( {
|
||||||
family: DefaultStyle.defaultFont,
|
family: DefaultStyle.defaultFont,
|
||||||
pixelSize: Utils.getSizeWithScreenRatio(10),
|
pixelSize: Utils.getSizeWithScreenRatio(10),
|
||||||
weight: Math.min(Utils.getSizeWithScreenRatio(500), 1000)
|
weight: Font.Medium
|
||||||
})
|
})
|
||||||
|
|
||||||
// FileView/F1light - Duration text
|
// FileView/F1light - Duration text
|
||||||
property font d1: Qt.font( {
|
property font d1: Qt.font( {
|
||||||
family: DefaultStyle.defaultFont,
|
family: DefaultStyle.defaultFont,
|
||||||
pixelSize: Utils.getSizeWithScreenRatio(8),
|
pixelSize: Utils.getSizeWithScreenRatio(8),
|
||||||
weight: Math.min(Utils.getSizeWithScreenRatio(600), 1000)
|
weight: Font.DemiBold
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue