summaryrefslogtreecommitdiff
path: root/Course/Grid/Minimal
diff options
context:
space:
mode:
authoranatasof wirapraja <anatasof.wirapraja@gmail.com>2023-04-04 12:48:07 +0700
committeranatasof wirapraja <anatasof.wirapraja@gmail.com>2023-04-04 12:48:07 +0700
commitbd8e41e07712f6254ebc5fe9086b081bf9d1d3cf (patch)
tree20bcd14324b6cf0843c8aefd0db7469298c1837a /Course/Grid/Minimal
parent99f76ba0ef58a252c1d82acbd56df8b6ef5a735c (diff)
remove layout.fillwidth on FilterBar.ui.qml and add Layout to Minimal.ui.qml
Diffstat (limited to 'Course/Grid/Minimal')
-rw-r--r--Course/Grid/Minimal/FilterBar.ui.qml10
1 files changed, 4 insertions, 6 deletions
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