diff --git a/src/ui/fort_qml.qrc b/src/ui/fort_qml.qrc index a057672a..188e3ed5 100644 --- a/src/ui/fort_qml.qrc +++ b/src/ui/fort_qml.qrc @@ -3,6 +3,7 @@ qml/boxes/PasswordBox.qml qml/controls/ButtonMenu.qml qml/controls/ButtonPopup.qml + qml/controls/HSeparator.qml qml/controls/LinkButton.qml qml/controls/ListViewControl.qml qml/controls/RoundButtonTip.qml @@ -12,6 +13,7 @@ qml/controls/TextAreaFrame.qml qml/controls/TextContextMenu.qml qml/controls/TextFieldFrame.qml + qml/controls/VSeparator.qml qml/main.qml qml/pages/AddressesPage.qml qml/pages/ApplicationsPage.qml diff --git a/src/ui/qml/controls/HSeparator.qml b/src/ui/qml/controls/HSeparator.qml new file mode 100644 index 00000000..3224fe57 --- /dev/null +++ b/src/ui/qml/controls/HSeparator.qml @@ -0,0 +1,10 @@ +import QtQuick 2.9 +import QtQuick.Controls 2.2 +import QtQuick.Layouts 1.3 + +Rectangle { + Layout.fillWidth: true + Layout.preferredHeight: 1 + + color: palette.mid +} diff --git a/src/ui/qml/controls/VSeparator.qml b/src/ui/qml/controls/VSeparator.qml new file mode 100644 index 00000000..3f36c51b --- /dev/null +++ b/src/ui/qml/controls/VSeparator.qml @@ -0,0 +1,10 @@ +import QtQuick 2.9 +import QtQuick.Controls 2.2 +import QtQuick.Layouts 1.3 + +Rectangle { + Layout.preferredWidth: 1 + Layout.fillHeight: true + + color: palette.mid +} diff --git a/src/ui/qml/pages/ApplicationsPage.qml b/src/ui/qml/pages/ApplicationsPage.qml index 432dc658..2f16a169 100644 --- a/src/ui/qml/pages/ApplicationsPage.qml +++ b/src/ui/qml/pages/ApplicationsPage.qml @@ -129,10 +129,7 @@ BasePage { } } - Frame { - Layout.fillWidth: true - Layout.preferredHeight: 1 - } + HSeparator {} AppsColumn { id: appsColumn diff --git a/src/ui/qml/pages/SchedulePage.qml b/src/ui/qml/pages/SchedulePage.qml index af4bce0d..d8353ed3 100644 --- a/src/ui/qml/pages/SchedulePage.qml +++ b/src/ui/qml/pages/SchedulePage.qml @@ -87,10 +87,7 @@ BasePage { } } - Frame { - Layout.fillWidth: true - Layout.preferredHeight: 1 - } + HSeparator {} ListView { Layout.fillWidth: true diff --git a/src/ui/qml/pages/StatisticsPage.qml b/src/ui/qml/pages/StatisticsPage.qml index 4d6d2e51..a6b7af8d 100644 --- a/src/ui/qml/pages/StatisticsPage.qml +++ b/src/ui/qml/pages/StatisticsPage.qml @@ -209,10 +209,7 @@ BasePage { } } - Frame { - Layout.fillWidth: true - Layout.preferredHeight: 1 - } + HSeparator {} ListView { id: trafListView