Refine mobileform settings
Numerous refinements to the new mobileform setting pages - Ensure left and right padding at the top level is 0 for mobile - Centre align the avatar in the account editor page and add tooltip to button - Fix the bubble/compact mode setting so that it fits when thin, i.e on mobile - Fix the loading placeholder in device settings
This commit is contained in:
@@ -25,12 +25,13 @@ Kirigami.ScrollablePage {
|
||||
MobileForm.FormCardHeader {
|
||||
title: i18n("Devices")
|
||||
}
|
||||
|
||||
Kirigami.LoadingPlaceholder {
|
||||
Layout.alignment: Qt.AlignHCenter
|
||||
visible: parent.count === 0 // We can assume 0 means loading since there is at least one device
|
||||
MobileForm.AbstractFormDelegate {
|
||||
Layout.fillWidth: true
|
||||
visible: deviceRepeater.count === 0 // We can assume 0 means loading since there is at least one device
|
||||
contentItem: Kirigami.LoadingPlaceholder { }
|
||||
}
|
||||
Repeater {
|
||||
id: deviceRepeater
|
||||
model: DevicesModel {
|
||||
id: devices
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user