Actually fix centring of selected file

This commit is contained in:
Anton Thomasson 2021-06-01 18:35:44 +02:00
parent acf4dd9ac7
commit dd907e3550

View file

@ -380,8 +380,9 @@ Page {
Label { Label {
id: fileLabel id: fileLabel
width: parent.width-2*Theme.paddingLarge width: parent.width
leftPadding: Theme.paddingLarge leftPadding: Theme.paddingLarge
rightPadding: Theme.paddingLarge
horizontalAlignment: contentWidth > width ? Text.AlignRight : Text.AlignHCenter horizontalAlignment: contentWidth > width ? Text.AlignRight : Text.AlignHCenter
truncationMode: TruncationMode.Fade truncationMode: TruncationMode.Fade