diff options
author | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2023-03-19 17:38:41 +0800 |
---|---|---|
committer | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2023-03-19 17:38:41 +0800 |
commit | aefa7c95fa6654cd65e14d3a0fefd8f48f3dcc29 (patch) | |
tree | af4ea195a6adfd7245c16de8eca551e51c11c4a8 /Course | |
parent | 3c0c5c7aed9d40949a66beaec99e9dc7fec49ccf (diff) |
Somehow this forces the width to be right right away
Diffstat (limited to 'Course')
-rw-r--r-- | Course/Detail/Classic/Content/Main.ui.qml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Course/Detail/Classic/Content/Main.ui.qml b/Course/Detail/Classic/Content/Main.ui.qml index a499b52..08af710 100644 --- a/Course/Detail/Classic/Content/Main.ui.qml +++ b/Course/Detail/Classic/Content/Main.ui.qml @@ -44,11 +44,11 @@ ColumnLayout { GridView { id: tabs interactive: false - Layout.fillWidth: true Layout.topMargin: 16 Layout.bottomMargin: 16 cellWidth: 105.016 cellHeight: 46 + implicitWidth: parent.width implicitHeight: Math.ceil(count / Math.floor(count / (cellWidth * count |