fixed minor updating bug in boulder result rects
This commit is contained in:
parent
adbc540c0c
commit
e4e9a4de8e
1 changed files with 7 additions and 4 deletions
|
@ -311,6 +311,9 @@ DataListView {
|
||||||
resultList.unshift(0)
|
resultList.unshift(0)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else {
|
||||||
|
resultList = [-1,-1]
|
||||||
|
}
|
||||||
|
|
||||||
return resultList
|
return resultList
|
||||||
}
|
}
|
||||||
|
@ -452,7 +455,7 @@ DataListView {
|
||||||
height: parent.height / 2
|
height: parent.height / 2
|
||||||
width: parent.width / 2
|
width: parent.width / 2
|
||||||
|
|
||||||
visible: text !== "0"
|
visible: parseInt(text) > 0
|
||||||
|
|
||||||
fontSizeMode: Text.Fit
|
fontSizeMode: Text.Fit
|
||||||
font.pixelSize: height
|
font.pixelSize: height
|
||||||
|
@ -461,7 +464,7 @@ DataListView {
|
||||||
verticalAlignment: Text.AlignVCenter
|
verticalAlignment: Text.AlignVCenter
|
||||||
horizontalAlignment: Text.AlignHCenter
|
horizontalAlignment: Text.AlignHCenter
|
||||||
|
|
||||||
text: boulderResCv.resultData[1] === undefined ? "0":boulderResCv.resultData[1]
|
text: boulderResCv.resultData[1]
|
||||||
}
|
}
|
||||||
|
|
||||||
Label {
|
Label {
|
||||||
|
@ -476,7 +479,7 @@ DataListView {
|
||||||
height: parent.height / 2
|
height: parent.height / 2
|
||||||
width: parent.width / 2
|
width: parent.width / 2
|
||||||
|
|
||||||
visible: text !== "0"
|
visible: parseInt(text) > 0
|
||||||
|
|
||||||
fontSizeMode: Text.Fit
|
fontSizeMode: Text.Fit
|
||||||
font.pixelSize: height
|
font.pixelSize: height
|
||||||
|
@ -485,7 +488,7 @@ DataListView {
|
||||||
verticalAlignment: Text.AlignVCenter
|
verticalAlignment: Text.AlignVCenter
|
||||||
horizontalAlignment: Text.AlignHCenter
|
horizontalAlignment: Text.AlignHCenter
|
||||||
|
|
||||||
text: boulderResCv.resultData[0] === undefined ? "0":boulderResCv.resultData[0]
|
text: boulderResCv.resultData[0]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue