Details
-
Bug
-
Resolution: Duplicate
-
Not Evaluated
-
None
-
5.13.1
-
None
Description
When adding more than one button to the DialogButtonBox with the Universal theme then the button labels disappear. With other themes (such as Material) this does not happen.
import QtQuick 2.13 import QtQuick.Window 2.13 import QtQuick.Controls 2.10 Page { id: page visible: true title: qsTr("Hello World") Button { anchors.centerIn: parent text: "Open dialog" onClicked: dialog.open() } Dialog { id: dialog parent: page modal: true closePolicy: Popup.CloseOnEscape | Popup.CloseOnPressOutside x: (parent.width - width) / 2 y: (parent.height - height) / 2 title: "Test" Label { text: "Test" } footer: DialogButtonBox { Button { text: "Btn 1" } Button { // Adding this button makes the text labels disappear text: "Btn 1" } } } }
Attachments
Issue Links
- duplicates
-
QTBUG-76229 DialogButtonBox custom button's text not visible
-
- Closed
-