mirror of
https://github.com/zoriya/noctalia-shell.git
synced 2026-06-03 10:56:16 +00:00
Bar-Sysmon: tighter bounds
This commit is contained in:
@@ -45,9 +45,9 @@ Rectangle {
|
|||||||
return Math.max(1, compact ? base * 0.43 : base * 0.33)
|
return Math.max(1, compact ? base * 0.43 : base * 0.33)
|
||||||
}
|
}
|
||||||
|
|
||||||
readonly property int percentTextWidth: Math.ceil(percentMetrics.boundingRect.width + 4 * scaling)
|
readonly property int percentTextWidth: Math.ceil(percentMetrics.boundingRect.width + 3 * scaling)
|
||||||
readonly property int tempTextWidth: Math.ceil(tempMetrics.boundingRect.width + 4 * scaling)
|
readonly property int tempTextWidth: Math.ceil(tempMetrics.boundingRect.width + 3 * scaling)
|
||||||
readonly property int memTextWidth: Math.ceil(memMetrics.boundingRect.width + 4 * scaling)
|
readonly property int memTextWidth: Math.ceil(memMetrics.boundingRect.width + 3 * scaling)
|
||||||
|
|
||||||
TextMetrics {
|
TextMetrics {
|
||||||
id: percentMetrics
|
id: percentMetrics
|
||||||
|
|||||||
Reference in New Issue
Block a user