Actually fix centring of selected file
This commit is contained in:
parent
acf4dd9ac7
commit
dd907e3550
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue