summaryrefslogtreecommitdiff
path: root/Course/Grid
diff options
context:
space:
mode:
authoranatasof wirapraja <anatasof.wirapraja@gmail.com>2023-04-04 13:02:10 +0700
committeranatasof wirapraja <anatasof.wirapraja@gmail.com>2023-04-04 13:02:10 +0700
commit97d27220f2f68dfae281af1a2753e69c667bef27 (patch)
tree4f9c72d085affca9e9ec801ccca23e1c8e5bd04a /Course/Grid
parentbd8e41e07712f6254ebc5fe9086b081bf9d1d3cf (diff)
add columns condition for gridlayout
Diffstat (limited to 'Course/Grid')
-rw-r--r--Course/Grid/Minimal/FilterBar.ui.qml3
1 files changed, 1 insertions, 2 deletions
diff --git a/Course/Grid/Minimal/FilterBar.ui.qml b/Course/Grid/Minimal/FilterBar.ui.qml
index f135b60..6b67a54 100644
--- a/Course/Grid/Minimal/FilterBar.ui.qml
+++ b/Course/Grid/Minimal/FilterBar.ui.qml
@@ -16,8 +16,7 @@ Rectangle {
left: parent.left
right: parent.right
}
- rows: 6
- columns: 6
+ columns: parent.width < 1200 ? 1 : 6
rowSpacing: 16
columnSpacing: 16
flow: GridLayout.LeftToRight