[frameworks/kirigami] src/controls: Sensible height for license sheet

Marco Martin <[email protected]> Wed, 5 Aug 2026 09:08:21 +0000 (UTC)
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git commit 71b042f4f73b5997fe74a18cbee406b89378da09 by Marco Martin.
Committed on 04/08/2026 at 08:33.
Pushed by mart into branch 'master'.

Sensible height for license sheet

M  +2    -0    src/controls/AboutItem.qml

https://invent.kde.org/frameworks/kirigami/-/commit/71b042f4f73b5997fe74a18cbee406b89378da09

diff --git a/src/controls/AboutItem.qml b/src/controls/AboutItem.qml
index 197aa36c5..0bd852d7f 100644
--- a/src/controls/AboutItem.qml
+++ b/src/controls/AboutItem.qml
@@ -9,6 +9,7 @@ pragma ComponentBehavior: Bound
 import QtQuick
 import QtQuick.Controls as QQC2
 import QtQuick.Layouts
+import QtQuick.Window
 import org.kde.kirigami.platform as Platform
 import org.kde.kirigami.primitives as Primitives
 import org.kde.kirigami.layouts as KL
@@ -377,6 +378,7 @@ Item {
         OverlaySheet {
             id: licenseSheet
             width: Math.min(aboutItem.width - Platform.Units.gridUnit * 2, bodyLabel.implicitWidth)
+            height: parent.Window.window.height - Platform.Units.gridUnit * 8
             property alias text: bodyLabel.text
 
             SelectableLabel {