https://bugs.kde.org/show_bug.cgi?id=493663

            Bug ID: 493663
           Summary: Dialog does not consider footer buttons when
                    determining its minimum width
    Classification: Frameworks and Libraries
           Product: frameworks-kirigami
           Version: Master
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: kdelibs-b...@kde.org
          Reporter: n...@kde.org
                CC: notm...@gmail.com
  Target Milestone: Not decided

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"
            }
        ]
    }
}

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to