Added floaty bar mode, made sidebar texts and Crypto.qml module bold

This commit is contained in:
SomeElse
2026-05-30 06:49:36 +00:00
parent 042e219ed7
commit c28f00caf7
15 changed files with 133 additions and 45 deletions

View File

@@ -323,6 +323,7 @@ ModuleChip {
text: root.coinSymbol + "/" + root.displayCurrency.toUpperCase() + ": "
color: t.cryptoLabel
font.pixelSize: 12
font.bold: true
verticalAlignment: Text.AlignVCenter
}
@@ -339,6 +340,8 @@ ModuleChip {
text: root.change24h >= 0 ? "▲" : "▼"
color: root.change24h >= 0 ? (t.cryptoUp) : (t.cryptoDown)
font.pixelSize: 9
font.bold: true
renderType: Text.NativeRendering
verticalAlignment: Text.AlignVCenter
Layout.alignment: Qt.AlignVCenter
Layout.leftMargin: 4
@@ -495,6 +498,7 @@ ModuleChip {
color: root.change24h >= 0 ? (t.cryptoUp) : (t.cryptoDown)
font.pixelSize: 11
font.bold: true
renderType: Text.NativeRendering
}
}
}
@@ -516,7 +520,7 @@ ModuleChip {
property string value: ""
Layout.fillWidth: true
Text { text: label; color: t.cryptoPopupDim; font.pixelSize: 12; Layout.fillWidth: true }
Text { text: value; color: t.cryptoPopupText; font.pixelSize: 12; font.bold: true; font.family: "monospace" }
Text { text: value; color: t.cryptoPopupText; font.pixelSize: 12; font.bold: true; font.family: "monospace"; renderType: Text.NativeRendering }
}
StatRow { label: "Rank"; value: root.rank > 0 ? "#" + root.rank : "—" }
@@ -552,6 +556,7 @@ ModuleChip {
text: "24h Range"
color: t.cryptoPopupDim
font.pixelSize: 12
renderType: Text.NativeRendering
Layout.fillWidth: true
}
Text {
@@ -559,6 +564,7 @@ ModuleChip {
text: ((root.price - root.low24h) / (root.high24h - root.low24h) * 100).toFixed(1) + "% of range"
color: t.cryptoPopupDim
font.pixelSize: 11
renderType: Text.NativeRendering
}
}
@@ -595,6 +601,7 @@ ModuleChip {
color: t.cryptoDown
font.pixelSize: 10
font.family: "monospace"
renderType: Text.NativeRendering
}
Item { Layout.fillWidth: true }
Text {
@@ -602,6 +609,7 @@ ModuleChip {
color: t.cryptoUp
font.pixelSize: 10
font.family: "monospace"
renderType: Text.NativeRendering
}
}
}