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{
|
||||
id: textSize
|
||||
text: mainItem.innerText
|
||||
font {
|
||||
pixelSize: 10 * DefaultStyle.dp
|
||||
weight: 700 * DefaultStyle.dp
|
||||
}
|
||||
}
|
||||
|
||||
background: Rectangle {
|
||||
|
|
@ -45,6 +49,7 @@ ProgressBar {
|
|||
pixelSize: 10 * DefaultStyle.dp
|
||||
weight: 700 * DefaultStyle.dp
|
||||
}
|
||||
width: textSize.advanceWidth
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue