entries are padded too much.. alignment is off

Bug #1227065 reported by Alan Pope 🍺🐧🐱 🦄
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu File Manager App
Fix Released
Medium
Unassigned
Ubuntu UI Toolkit
Fix Released
Undecided
Unassigned

Bug Description

See screenshot. The padding of the list of folders seems screwy.

Revision history for this message
Alan Pope 🍺🐧🐱 🦄 (popey) wrote :
Revision history for this message
Michael Spencer (ibelieve) wrote :

That's got to be an SDK bug. All we're doing is setting the text and subText properties of a ListItem.Subtitled:

ListItem.Subtitled {
    objectName: "folder" + index

    property string fileName: model.fileName
    property string filePath: path

    text: model.fileName
    subText: Qt.formatDateTime(model.modifiedDate, Qt.DefaultLocaleShortDate) + (!model.isDir ? ", " + fileSize : "")

    property string path: fileView.path + '/' + model.fileName
    icon: fileIcon(path, model.isDir)
    progression: model.isDir
}

Revision history for this message
David Planella (dpm) wrote :

I noticed that too. Not sure what is causing it, but it seems that if you navigate to a folder and then back up to /home/phablet, the expected alignment is restored.

Changed in ubuntu-filemanager-app:
status: New → Triaged
importance: Undecided → Medium
Revision history for this message
Michael Spencer (ibelieve) wrote :

Alan, can you confirm that this is still a problem or that it has been fixed in the SDK?

Revision history for this message
Tim Peeters (tpeeters) wrote :

does the bug still exist?

If yes, can you reproduce it with a small test program?

Changed in ubuntu-ui-toolkit:
status: New → Incomplete
David Planella (dpm)
Changed in ubuntu-filemanager-app:
status: Triaged → Fix Released
Changed in ubuntu-ui-toolkit:
status: Incomplete → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.