dash/wellbeing: size default to other tabs, except overview

This commit is contained in:
bbedward
2026-10-05 15:20:55 -04:00
parent f6d0701505
commit ba50299b2f
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -180,7 +180,8 @@ Singleton {
"available": SettingsData.wellbeingEnabled,
"tab": {
"component": wellbeingTab,
"async": true
"async": true,
"sizeToContent": true
},
"card": {
"component": wellbeingCard,
@@ -7,7 +7,7 @@ import qs.Modules.DankDash
import "Wellbeing.js" as Wellbeing
Singleton {
readonly property real chartHeight: DashMetrics.gridRowUnit * 2.5
readonly property real chartHeight: DashMetrics.heightForRows(2)
readonly property real barWidthRatio: 0.72
readonly property real dimmedBarOpacity: 0.55
readonly property real axisLabelWidth: 28