moment/harmonyqml/components/pages/Default.qml

24 lines
555 B
QML
Raw Normal View History

2019-04-28 11:07:20 +10:00
import QtQuick 2.7
import QtQuick.Controls 2.2
import QtQuick.Layouts 1.4
import "../base" as Base
Base.HRowLayout {
Base.HLabel {
text: "Select or add a room to start."
wrapMode: Text.Wrap
padding: 3
leftPadding: 10
rightPadding: 10
Layout.margins: 10
Layout.alignment: Qt.AlignCenter
Layout.maximumWidth: parent.width - Layout.margins * 2
background: Rectangle {
2019-04-28 14:44:55 +10:00
color: Base.HStyle.boxes.background
radius: Base.HStyle.boxes.radius
2019-04-28 11:07:20 +10:00
}
}
}