From 3c09940653156d1af6cd4530235eb02a0f2f8e93 Mon Sep 17 00:00:00 2001 From: reionwong Date: Fri, 27 Aug 2021 03:31:12 +0800 Subject: [PATCH] Fix icon size of button --- src/qml/Cursor/Main.qml | 4 ++-- src/qml/IconCheckBox.qml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/qml/Cursor/Main.qml b/src/qml/Cursor/Main.qml index 15b6252..bd9dfb0 100644 --- a/src/qml/Cursor/Main.qml +++ b/src/qml/Cursor/Main.qml @@ -159,8 +159,8 @@ ItemPage { currentIndex: cursorModel.themeIndex(cursorModel.currentTheme) property int rowCount: _view.width / itemWidth - property int itemWidth: 150 - property int itemHeight: 150 + property int itemWidth: 128 + property int itemHeight: 128 function calcExtraSpacing(cellSize, containerSize) { var availableColumns = Math.floor(containerSize / cellSize) diff --git a/src/qml/IconCheckBox.qml b/src/qml/IconCheckBox.qml index f5df46a..436eaa9 100644 --- a/src/qml/IconCheckBox.qml +++ b/src/qml/IconCheckBox.qml @@ -31,7 +31,7 @@ Item { property alias text: label.text property bool checked: false - property var iconSize: 106 + property var iconSize: 96 signal clicked