Settings: better option names. Replaced many font.bold by the proper syntax with Style. + Minor adjustments
This commit is contained in:
parent
a240eb027c
commit
122e95955d
5 changed files with 13 additions and 14 deletions
|
|
@ -236,7 +236,6 @@ NPanel {
|
|||
rightPadding: 0
|
||||
topPadding: 0
|
||||
bottomPadding: 0
|
||||
font.bold: true
|
||||
Component.onCompleted: {
|
||||
// Focus the search bar by default
|
||||
Qt.callLater(() => {
|
||||
|
|
@ -360,7 +359,7 @@ NPanel {
|
|||
|| modelData.isCommand)
|
||||
text: modelData.name ? modelData.name.charAt(0).toUpperCase() : "?"
|
||||
font.pointSize: Style.fontSizeXXL * scaling
|
||||
font.weight: Font.Bold
|
||||
font.weight: Style.fontWeightBold
|
||||
color: Color.mPrimary
|
||||
}
|
||||
|
||||
|
|
@ -379,7 +378,7 @@ NPanel {
|
|||
NText {
|
||||
text: modelData.name || "Unknown"
|
||||
font.pointSize: Style.fontSizeL * scaling
|
||||
font.weight: Font.Bold
|
||||
font.weight: Style.fontWeightBold
|
||||
color: (appCardArea.containsMouse || isSelected) ? Color.mOnPrimary : Color.mOnSurface
|
||||
elide: Text.ElideRight
|
||||
Layout.fillWidth: true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue