This patch improves the layout, formatting, and wording of the Folder View widget's Icons and Locations pages to better follow the HIG (especially https://hig.kde.org/patterns/content/form.html). In the process, it adopts Kirigami.FormLayout.
- Group Reviewers
- R119:6a4f4cc31ebc: [Folder View] Improve layout, formatting, and wording of Icons and Locations…
Icons page, Desktop, before:
Icons page, Desktop, after:
Icons page, Panel widget, before:
Icons page, Panel widget, after:
Locations page, before:
Locations page, after:
Note: I know the width: 500 is a horrible hack that is certainly the wrong way to do this, but I couldn't figure out how else to get the Labels' width to be long enough so that Layout.alignment: Qt.AlignRight worked. Layout.fillWidth: true had no effect. I look forward to learning the correct way to handle this situation. :)
Kirigami FormLayout is a really nice control to work with. I'm a big fan. This port was easy peasy and I can't wait to do more of these!
The double Kirigami.Separator items are to approximate what's wanted for https://bugs.kde.org/show_bug.cgi?id=399959, but this is probably an incorrect usage of them as-is. Would like to get @mart's opinion on the best way to add some whitespace to a Kirigami FormLayout.
those should be just
then, we'll see how things in formlayout have to be fixed to reach the desired spacing/result