From bd8e41e07712f6254ebc5fe9086b081bf9d1d3cf Mon Sep 17 00:00:00 2001 From: anatasof wirapraja Date: Tue, 4 Apr 2023 12:48:07 +0700 Subject: remove layout.fillwidth on FilterBar.ui.qml and add Layout to Minimal.ui.qml --- Course/Grid/Minimal/FilterBar.ui.qml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'Course/Grid/Minimal') diff --git a/Course/Grid/Minimal/FilterBar.ui.qml b/Course/Grid/Minimal/FilterBar.ui.qml index d9bf81a..f135b60 100644 --- a/Course/Grid/Minimal/FilterBar.ui.qml +++ b/Course/Grid/Minimal/FilterBar.ui.qml @@ -12,7 +12,10 @@ Rectangle { border.color: "#33000000" GridLayout { id: filterBarControl - anchors.fill: parent + anchors { + left: parent.left + right: parent.right + } rows: 6 columns: 6 rowSpacing: 16 @@ -32,28 +35,24 @@ Rectangle { ComboBox { id: categories - Layout.fillWidth: true font.pointSize: 16 font.family: "Roboto" displayText: "Categories" } ComboBox { id: priceLevel - Layout.fillWidth: true font.pointSize: 16 font.family: "Roboto" displayText: "Price level" } ComboBox { id: skillLevel - Layout.fillWidth: true font.pointSize: 16 font.family: "Roboto" displayText: "Skill level" } ComboBox { id: language - Layout.fillWidth: true font.pointSize: 16 font.family: "Roboto" displayText: "Languange" @@ -61,7 +60,6 @@ Rectangle { Button { id: searchButton - Layout.fillWidth: true icon.color: "#ffffff" icon.source: "../../../Font-Awesome/svgs/solid/magnifying-glass.svg" Layout.rightMargin: 24 -- cgit v1.2.3