From 34a047935a4221291a59ec3dfc63eceb012f284c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=A6=8C=EA=A6=AB=EA=A6=B6=EA=A6=8F=EA=A7=80=EA=A6=A6?= =?UTF-8?q?=EA=A6=BF=EA=A6=A7=EA=A6=AE=EA=A6=91=EA=A6=A9=EA=A6=AD=EA=A7=80?= Date: Thu, 30 Mar 2023 19:58:05 +0800 Subject: Not set source size on most icons --- Header.ui.qml | 35 ++++------------------------------- 1 file changed, 4 insertions(+), 31 deletions(-) diff --git a/Header.ui.qml b/Header.ui.qml index 4fdeb7c..7e4cf25 100644 --- a/Header.ui.qml +++ b/Header.ui.qml @@ -109,7 +109,6 @@ ToolBar { Image { anchors.centerIn: parent source: "Bootstrap/icons/cart3.svg" - sourceSize.width: 18 fillMode: Image.PreserveAspectFit ColorOverlay { @@ -243,12 +242,6 @@ ToolBar { Image { source: menuItem.icon.source - sourceSize { - width: profileMenuItem - .icon.width - height: profileMenuItem - .icon.height - } ColorOverlay { color: highlighted @@ -326,45 +319,25 @@ ToolBar { Action { id: editProfile - icon { - source: - "Bootstrap/icons/person.svg" - width: 19 - height: 22 - } + icon.source: "Bootstrap/icons/person.svg" text: qsTr("Edit Profile") } Action { id: accountSettings - icon { - source: - "Bootstrap/icons/gear.svg" - width: 19 - height: 22 - } + icon.source: "Bootstrap/icons/gear.svg" text: qsTr("Account Settings") } Action { id: help - icon { - source: - "Bootstrap/icons/info-circle.svg" - width: 19 - height: 22 - } + icon.source: "Bootstrap/icons/info-circle.svg" text: qsTr("Help") } Action { id: log - icon { - source: - "Bootstrap/icons/power.svg" - width: 19 - height: 22 - } + icon.source: "Bootstrap/icons/power.svg" text: qsTr("Sign Out") } -- cgit v1.2.3