From 97d27220f2f68dfae281af1a2753e69c667bef27 Mon Sep 17 00:00:00 2001 From: anatasof wirapraja Date: Tue, 4 Apr 2023 13:02:10 +0700 Subject: add columns condition for gridlayout --- Course/Grid/Minimal/FilterBar.ui.qml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'Course/Grid/Minimal') 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 -- cgit v1.2.3