diff options
Diffstat (limited to 'Course')
-rw-r--r-- | Course/Grid/Minimal.ui.qml | 7 | ||||
-rw-r--r-- | Course/Grid/Minimal/FilterBar.ui.qml | 10 |
2 files changed, 10 insertions, 7 deletions
diff --git a/Course/Grid/Minimal.ui.qml b/Course/Grid/Minimal.ui.qml index a4ad119..3ff42c1 100644 --- a/Course/Grid/Minimal.ui.qml +++ b/Course/Grid/Minimal.ui.qml @@ -22,7 +22,12 @@ Flickable { right: parent.right } - FilterBar {} + FilterBar { + Layout.topMargin: 16 + Layout.rightMargin: 16 + Layout.leftMargin: 16 + Layout.fillWidth: true + } GridView { id: courseGrid 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 |