| Summary: | Dialog does not consider footer buttons when determining its minimum width | ||
|---|---|---|---|
| Product: | [Frameworks and Libraries] frameworks-kirigami | Reporter: | Nate Graham <nate> |
| Component: | general | Assignee: | kdelibs bugs <kdelibs-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | notmart |
| Priority: | NOR | ||
| Version First Reported In: | Master | ||
| Target Milestone: | Not decided | ||
| Platform: | Other | ||
| OS: | Linux | ||
| See Also: |
https://bugs.kde.org/show_bug.cgi?id=493581 https://bugs.kde.org/show_bug.cgi?id=497795 |
||
| Latest Commit: | https://invent.kde.org/frameworks/kirigami/-/commit/4fb4d656dfa5161ac4676d278bcd7cb08327a753 | Version Fixed/Implemented In: | 6.7 |
| Sentry Crash Report: | |||
Fixed by Akseli Lahtinen with https://invent.kde.org/frameworks/kirigami/-/commit/4fb4d656dfa5161ac4676d278bcd7cb08327a753 for Frameworks 6.7! |
To reproduce, run the following test code: import QtQuick import QtQuick.Controls as QQC2 import org.kde.kirigami as Kirigami Item { width: 500 height: 400 QQC2.Button { anchors.centerIn: parent text: "open the dialog" icon.name: "dialog-messages" onClicked: dialog.open() } Kirigami.Dialog { id: dialog title: "Hi" customFooterActions: [ Kirigami.Action { text: "Do something" icon.name: "edit-bomb" }, Kirigami.Action { text: "Cry in the corner" icon.name: "face-crying" } ] } }