moment/harmonyqml/components/SidePane/AccountList.qml

18 lines
343 B
QML
Raw Normal View History

import QtQuick 2.7
import QtQuick.Layouts 1.3
ListView {
id: accountList
clip: true
spacing: 8
topMargin: spacing
bottomMargin: topMargin
2019-04-29 05:52:26 +10:00
Layout.leftMargin:
sidePane.width <= (sidePane.Layout.minimumWidth + spacing) ?
0 : spacing
model: Backend.models.accounts
delegate: AccountDelegate {}
}