fix(StatusPageIndicator): fix rendering of last page button text
- do not hardcode the button width as that might get elided for large values, and display erroneously "..." instead of the value
This commit is contained in:
parent
e3128587d8
commit
84017104f4
|
@ -118,7 +118,6 @@ Item {
|
||||||
model: d.pages
|
model: d.pages
|
||||||
delegate: StatusBaseButton {
|
delegate: StatusBaseButton {
|
||||||
objectName: "Page-%1".arg(itemText)
|
objectName: "Page-%1".arg(itemText)
|
||||||
width: d.buttonWidth
|
|
||||||
text: itemText
|
text: itemText
|
||||||
size: StatusBaseButton.Size.Small
|
size: StatusBaseButton.Size.Small
|
||||||
normalColor: itemIndex === root.currentIndex? Theme.palette.primaryColor3 : "transparent"
|
normalColor: itemIndex === root.currentIndex? Theme.palette.primaryColor3 : "transparent"
|
||||||
|
|
Loading…
Reference in New Issue