Changeset View
Changeset View
Standalone View
Standalone View
src/qml/homescreen/ProfileDetailsItem.qml
Context not available. | |||||
50 | colorGroup: SystemPalette.Active | 50 | colorGroup: SystemPalette.Active | ||
---|---|---|---|---|---|
51 | } | 51 | } | ||
52 | 52 | | |||
53 | KColorScheme { | ||||
54 | id: colorScheme | ||||
55 | colorGroup: KColorScheme.Active | ||||
56 | colorSet: KColorScheme.View | ||||
57 | } | ||||
58 | | ||||
53 | 59 | | |||
54 | Item { | 60 | Item { | ||
55 | id: infoContainer | 61 | id: infoContainer | ||
Context not available. | |||||
100 | anchors.horizontalCenter: parent.horizontalCenter | 106 | anchors.horizontalCenter: parent.horizontalCenter | ||
101 | width: parent.width | 107 | width: parent.width | ||
102 | height: parent.height - legend.height - parent.spacing | 108 | height: parent.height - legend.height - parent.spacing | ||
103 | 109 | backgroundColor: colorScheme.normalBackground | |||
110 | textColor: colorScheme.normalText | ||||
104 | model: learningProgressModel | 111 | model: learningProgressModel | ||
105 | } | 112 | } | ||
106 | 113 | | |||
Context not available. | |||||
110 | spacing: 20 | 117 | spacing: 20 | ||
111 | Charts.LegendItem { | 118 | Charts.LegendItem { | ||
112 | dimension: learningProgressChart.accuracy | 119 | dimension: learningProgressChart.accuracy | ||
113 | textColor: activePalette.text | 120 | textColor: colorScheme.normalText | ||
114 | } | 121 | } | ||
115 | Charts.LegendItem { | 122 | Charts.LegendItem { | ||
116 | dimension: learningProgressChart.charactersPerMinute | 123 | dimension: learningProgressChart.charactersPerMinute | ||
117 | textColor: activePalette.text | 124 | textColor: colorScheme.normalText | ||
118 | } | 125 | } | ||
119 | } | 126 | } | ||
120 | } | 127 | } | ||
Context not available. |