Typography++
NText is now fontWeightRegular Transformed a few Text into NText Checked boldness Improved DemoPanel scaling and look
This commit is contained in:
parent
6ce7c7d55d
commit
c64d14319e
16 changed files with 584 additions and 180 deletions
|
|
@ -18,6 +18,7 @@ Rectangle {
|
|||
id: textItem
|
||||
text: Time.time
|
||||
anchors.centerIn: parent
|
||||
font.weight: Style.fontWeightBold
|
||||
}
|
||||
|
||||
MouseArea {
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@ Rectangle {
|
|||
|
||||
color: root.hovering ? Colors.accentPrimary : "transparent"
|
||||
|
||||
Text {
|
||||
NText {
|
||||
anchors.centerIn: parent
|
||||
anchors.horizontalCenterOffset: 0
|
||||
anchors.verticalCenterOffset: 0
|
||||
|
|
|
|||
|
|
@ -52,13 +52,12 @@ Item {
|
|||
bottomLeftRadius: pillHeight * 0.5
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
|
||||
Text {
|
||||
NText {
|
||||
id: textItem
|
||||
anchors.centerIn: parent
|
||||
text: root.text
|
||||
font.pointSize: Colors.fontSizeSmall * scaling
|
||||
font.family: Settings.data.ui.fontFamily
|
||||
font.weight: Font.Bold
|
||||
font.weight: Style.fontWeightBold
|
||||
color: textColor
|
||||
visible: showPill
|
||||
}
|
||||
|
|
|
|||
|
|
@ -9,6 +9,6 @@ Text {
|
|||
|
||||
font.family: Settings.data.ui.fontFamily
|
||||
font.pointSize: Style.fontSizeMedium * scaling
|
||||
font.weight: Font.Bold
|
||||
font.weight: Style.fontWeightRegular
|
||||
color: Colors.textPrimary
|
||||
}
|
||||
|
|
|
|||
|
|
@ -19,14 +19,14 @@ RowLayout {
|
|||
spacing: 2 * scaling
|
||||
Layout.fillWidth: true
|
||||
|
||||
Text {
|
||||
NText {
|
||||
text: label
|
||||
font.pointSize: Style.fontSizeMedium * scaling
|
||||
font.bold: true
|
||||
font.weight: Style.fontWeightBold
|
||||
color: Colors.textPrimary
|
||||
}
|
||||
|
||||
Text {
|
||||
NText {
|
||||
text: description
|
||||
font.pointSize: Style.fontSizeSmall * scaling
|
||||
color: Colors.textSecondary
|
||||
|
|
|
|||
|
|
@ -112,7 +112,6 @@ Window {
|
|||
anchors.centerIn: parent
|
||||
text: root.text
|
||||
font.pointSize: Style.fontSizeMedium * scaling
|
||||
font.weight: Style.fontWeightRegular
|
||||
horizontalAlignment: Text.AlignHCenter
|
||||
verticalAlignment: Text.AlignVCenter
|
||||
wrapMode: Text.Wrap
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue