diff --git a/Gui/OfferTable.qml b/Gui/OfferTable.qml index 7f16a20..519ceed 100644 --- a/Gui/OfferTable.qml +++ b/Gui/OfferTable.qml @@ -6,12 +6,13 @@ import Qt.labs.qmlmodels Item { + anchors.fill: parent StackView { - id: employeesStack + id: offersStack + anchors.fill: parent initialItem: "OffersTable.qml" - anchors.margins: 9 } } diff --git a/Gui/OffersTable.qml b/Gui/OffersTable.qml index 8c64582..99161b4 100644 --- a/Gui/OffersTable.qml +++ b/Gui/OffersTable.qml @@ -3,13 +3,18 @@ import QtQuick.Layouts import QtQuick.Controls import Qt.labs.qmlmodels -Item -{ +ColumnLayout { property var availableFilters: [] - SearchBar - { - id:searchBar - anchors.margins: 9 + Layout.fillWidth: true + anchors.fill: parent + + RowLayout { + spacing: Dimensions.l + SearchBar { + } + } + Item { + Layout.fillHeight: true } }