From 295230fdda3feb81d2e1b797eefcfadc405df742 Mon Sep 17 00:00:00 2001
From: Zhao Yuhang <2546789017@qq.com>
Date: 周日, 09 2月 2025 11:35:37 +0800
Subject: [PATCH] update qmsetup

---
 examples/qml/QWKButton.qml |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/examples/qml/QWKButton.qml b/examples/qml/QWKButton.qml
index 91569f7..8bf58a2 100644
--- a/examples/qml/QWKButton.qml
+++ b/examples/qml/QWKButton.qml
@@ -1,5 +1,5 @@
 import QtQuick 2.15
-import QtQuick.Controls 2.15
+import QtQuick.Controls.Basic 2.15
 
 Button {
     id: root
@@ -20,6 +20,7 @@
             mipmap: true
             width: 12
             height: 12
+            fillMode: Image.PreserveAspectFit
         }
     }
     background: Rectangle {

--
Gitblit v1.9.1