diff options
author | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2023-02-25 21:17:53 +0800 |
---|---|---|
committer | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2023-02-25 21:17:53 +0800 |
commit | 152f06a7d11800e79e7b8a6fce8586c4f5ee0c51 (patch) | |
tree | 59b6ef31d10e7aee3e64101ea4186e33560352cc | |
parent | 79b37a953c031671f0c6d2af19c1017f8cf0ff6d (diff) |
Counter implicitHeight is used instead
Layout.preferredHeight because it can be overridden in the library user app.
-rw-r--r-- | HomeDefault.ui.qml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/HomeDefault.ui.qml b/HomeDefault.ui.qml index 6963803..c3e8d2f 100644 --- a/HomeDefault.ui.qml +++ b/HomeDefault.ui.qml @@ -131,7 +131,7 @@ Flickable { : width / 4 cellHeight: 125.6 Layout.fillWidth: true - Layout.preferredHeight: width < 576 + implicitHeight: width < 576 ? cellHeight * count : width < 1200 ? cellHeight * count / 2 : cellHeight |