Changeset View
Changeset View
Standalone View
Standalone View
src/activities/target/TargetItem.qml
Show First 20 Lines • Show All 145 Lines • ▼ Show 20 Line(s) | 142 | Rectangle { | |||
---|---|---|---|---|---|
146 | color: model.color | 146 | color: model.color | ||
147 | radius: width / 2 | 147 | radius: width / 2 | ||
148 | border.width: 1 * ApplicationInfo.ratio | 148 | border.width: 1 * ApplicationInfo.ratio | ||
149 | border.color: "black" | 149 | border.color: "black" | ||
150 | 150 | | |||
151 | GCText { | 151 | GCText { | ||
152 | anchors.horizontalCenter: parent.horizontalCenter | 152 | anchors.horizontalCenter: parent.horizontalCenter | ||
153 | anchors.bottom: parent.bottom | 153 | anchors.bottom: parent.bottom | ||
154 | width: ApplicationInfo.ratio * 30 | ||||
155 | horizontalAlignment: Text.AlignHCenter | ||||
156 | font.pointSize: 20 | ||||
157 | minimumPointSize: 5 | ||||
158 | fontSizeMode: Text.Fit | ||||
154 | text: score | 159 | text: score | ||
155 | } | 160 | } | ||
156 | 161 | | |||
157 | } | 162 | } | ||
158 | } | 163 | } | ||
159 | } | 164 | } |