add tabs component
This commit is contained in:
18
Main.qml
18
Main.qml
@@ -1,5 +1,5 @@
|
||||
import QtQuick
|
||||
import QtQuick.Controls.Basic
|
||||
import QtQuick.Controls
|
||||
import QtQuick.Layouts
|
||||
|
||||
import archpack
|
||||
@@ -8,7 +8,6 @@ import "qml/buttons" as Buttons
|
||||
|
||||
ApplicationWindow {
|
||||
id: root
|
||||
|
||||
title: "Arch Linux Updater"
|
||||
width: 740
|
||||
height: 960
|
||||
@@ -27,17 +26,30 @@ ApplicationWindow {
|
||||
|
||||
RowLayout {
|
||||
id: headerLayout
|
||||
Layout.alignment: Qt.AlignTop
|
||||
Layout.maximumWidth: Number.POSITIVE_INFINITY
|
||||
|
||||
Components.Title {
|
||||
id: title
|
||||
Layout.maximumWidth: Number.POSITIVE_INFINITY
|
||||
Layout.alignment: Qt.AlignBottom
|
||||
}
|
||||
|
||||
Buttons.Settings {
|
||||
id: settingsButton
|
||||
Layout.alignment: Qt.AlignBottom
|
||||
}
|
||||
}
|
||||
|
||||
Components.Line { id: line }
|
||||
|
||||
Components.Tabs {
|
||||
id: tabs
|
||||
Layout.alignment: Qt.AlignTop
|
||||
parentWidth: mainLayout.width
|
||||
}
|
||||
|
||||
Item {
|
||||
Layout.fillHeight: true
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user