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)
|
||||
}
|
||||
}
|
||||
else {
|
||||
resultList = [-1,-1]
|
||||
}
|
||||
|
||||
return resultList
|
||||
}
|
||||
|
@ -452,7 +455,7 @@ DataListView {
|
|||
height: parent.height / 2
|
||||
width: parent.width / 2
|
||||
|
||||
visible: text !== "0"
|
||||
visible: parseInt(text) > 0
|
||||
|
||||
fontSizeMode: Text.Fit
|
||||
font.pixelSize: height
|
||||
|
@ -461,7 +464,7 @@ DataListView {
|
|||
verticalAlignment: Text.AlignVCenter
|
||||
horizontalAlignment: Text.AlignHCenter
|
||||
|
||||
text: boulderResCv.resultData[1] === undefined ? "0":boulderResCv.resultData[1]
|
||||
text: boulderResCv.resultData[1]
|
||||
}
|
||||
|
||||
Label {
|
||||
|
@ -476,7 +479,7 @@ DataListView {
|
|||
height: parent.height / 2
|
||||
width: parent.width / 2
|
||||
|
||||
visible: text !== "0"
|
||||
visible: parseInt(text) > 0
|
||||
|
||||
fontSizeMode: Text.Fit
|
||||
font.pixelSize: height
|
||||
|
@ -485,7 +488,7 @@ DataListView {
|
|||
verticalAlignment: Text.AlignVCenter
|
||||
horizontalAlignment: Text.AlignHCenter
|
||||
|
||||
text: boulderResCv.resultData[0] === undefined ? "0":boulderResCv.resultData[0]
|
||||
text: boulderResCv.resultData[0]
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue