diff --git a/src/qtquick/qml/EntryDetails.qml b/src/qtquick/qml/EntryDetails.qml --- a/src/qtquick/qml/EntryDetails.qml +++ b/src/qtquick/qml/EntryDetails.qml @@ -92,14 +92,14 @@ } title: i18nc("Combined title for the entry details page made of the name of the entry, and the author's name", "%1 by %2").arg(component.name).arg(entryAuthor.name) titleDelegate: QtLayouts.RowLayout { + QtLayouts.Layout.fillWidth: true implicitHeight: title.height Kirigami.Heading { id: title level: 1 QtLayouts.Layout.fillWidth: true; QtLayouts.Layout.preferredWidth: titleTextMetrics.width - QtLayouts.Layout.minimumWidth: titleTextMetrics.width opacity: component.isCurrentPage ? 1 : 0.4 maximumLineCount: 1 elide: Text.ElideRight diff --git a/src/qtquick/qml/Page.qml b/src/qtquick/qml/Page.qml --- a/src/qtquick/qml/Page.qml +++ b/src/qtquick/qml/Page.qml @@ -95,13 +95,13 @@ NewStuff.QuestionAsker {} titleDelegate: QtLayouts.RowLayout { + QtLayouts.Layout.fillWidth: true Kirigami.Heading { id: title level: 1 QtLayouts.Layout.fillWidth: true; QtLayouts.Layout.preferredWidth: titleTextMetrics.width - QtLayouts.Layout.minimumWidth: titleTextMetrics.width opacity: root.isCurrentPage ? 1 : 0.4 maximumLineCount: 1 elide: Text.ElideRight