fix #LINQT-1432 progress bar text
This commit is contained in:
parent
b2d0c29d40
commit
0c851ed81a
1 changed files with 5 additions and 0 deletions
|
|
@ -19,6 +19,10 @@ ProgressBar {
|
||||||
TextMetrics{
|
TextMetrics{
|
||||||
id: textSize
|
id: textSize
|
||||||
text: mainItem.innerText
|
text: mainItem.innerText
|
||||||
|
font {
|
||||||
|
pixelSize: 10 * DefaultStyle.dp
|
||||||
|
weight: 700 * DefaultStyle.dp
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
background: Rectangle {
|
background: Rectangle {
|
||||||
|
|
@ -45,6 +49,7 @@ ProgressBar {
|
||||||
pixelSize: 10 * DefaultStyle.dp
|
pixelSize: 10 * DefaultStyle.dp
|
||||||
weight: 700 * DefaultStyle.dp
|
weight: 700 * DefaultStyle.dp
|
||||||
}
|
}
|
||||||
|
width: textSize.advanceWidth
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue