[frameworks/kirigami] src/forms/templates: Default to small size in FormAction
Marco Martin <[email protected]> Wed, 5 Aug 2026 09:08:21 +0000 (UTC)
| Newsgroups | gmane.comp.kde.cvs |
|---|---|
| Message-ID | <[email protected]> |
Git commit 1a9d0c848769cfe6f20040b90337f446fb276834 by Marco Martin.
Committed on 04/08/2026 at 08:33.
Pushed by mart into branch 'master'.
Default to small size in FormAction
the right action icon now has the same size as the kirigami-addons forms
M +1 -1 src/forms/templates/FormAction.qml
https://invent.kde.org/frameworks/kirigami/-/commit/1a9d0c848769cfe6f20040b90337f446fb276834
diff --git a/src/forms/templates/FormAction.qml b/src/forms/templates/FormAction.qml
index a0d0399fa..070a4f18b 100644
--- a/src/forms/templates/FormAction.qml
+++ b/src/forms/templates/FormAction.qml
@@ -70,7 +70,7 @@ Forms.FormEntry { // Needs to be instantiated from the global forms import in or
trailingItems: Primitives.Icon {
Layout.fillHeight: true
- Layout.maximumHeight: root.triggerIcon.height <= 0 ? Platform.Units.iconSizes.smallMedium : Infinity
+ Layout.maximumHeight: root.triggerIcon.height <= 0 ? Platform.Units.iconSizes.small : Infinity
source: root.triggerIcon.name || root.triggerIcon.source
color: root.triggerIcon.color
Layout.preferredWidth: root.triggerIcon.width > 0 ? root.triggerIcon.width : -1