From 30493dbdbf2e999a55dc758df5b2d125674f21e5bd82f08b17dbebb0a88da3a3 Mon Sep 17 00:00:00 2001 From: Yuri Becker Date: Mon, 24 Mar 2025 11:41:07 +0100 Subject: [PATCH] Fix Offers View --- Gui/OfferTable.qml | 5 +++-- Gui/OffersTable.qml | 17 +++++++++++------ 2 files changed, 14 insertions(+), 8 deletions(-) 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 } }