summaryrefslogtreecommitdiff
path: root/Course/Detail/Classic/Content/Main.ui.qml
diff options
context:
space:
mode:
authorꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2023-03-19 17:38:41 +0800
committerꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2023-03-19 17:38:41 +0800
commitaefa7c95fa6654cd65e14d3a0fefd8f48f3dcc29 (patch)
treeaf4ea195a6adfd7245c16de8eca551e51c11c4a8 /Course/Detail/Classic/Content/Main.ui.qml
parent3c0c5c7aed9d40949a66beaec99e9dc7fec49ccf (diff)
Somehow this forces the width to be right right away
Diffstat (limited to 'Course/Detail/Classic/Content/Main.ui.qml')
-rw-r--r--Course/Detail/Classic/Content/Main.ui.qml2
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