[network/kaidan] src/qml: Use default size for ChatInfo's text

Melvin Keskin <[email protected]>
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git commit c57163420c934cf7edd43f06702614e77e2a38a0 by Melvin Keskin.
Committed on 25/07/2026 at 17:06.
Pushed by melvo into branch 'master'.

Use default size for ChatInfo's text

M  +0    -2    src/qml/ChatPage.qml
M  +0    -1    src/qml/EmptyChatPage.qml
M  +1    -2    src/qml/elements/ChatInfo.qml

https://invent.kde.org/network/kaidan/-/commit/c57163420c934cf7edd43f06702614e77e2a38a0

diff --git a/src/qml/ChatPage.qml b/src/qml/ChatPage.qml
index 67b3de80f..d22016dad 100644
--- a/src/qml/ChatPage.qml
+++ b/src/qml/ChatPage.qml
@@ -587,7 +587,6 @@ SearchBarPage {
 
 					ChatInfo {
 						text: qsTr("Select a chat to forward the message")
-						level: 1
 						font.weight: Font.Medium
 						wrapMode: Text.Wrap
 						horizontalAlignment: Text.AlignHCenter
@@ -639,7 +638,6 @@ SearchBarPage {
 
 					ChatInfo {
 						text: qsTr("Drop files to be sent")
-						level: 1
 						font.weight: Font.Medium
 						wrapMode: Text.Wrap
 						horizontalAlignment: Text.AlignHCenter
diff --git a/src/qml/EmptyChatPage.qml b/src/qml/EmptyChatPage.qml
index 2f8b363f7..1e8d5d3a9 100644
--- a/src/qml/EmptyChatPage.qml
+++ b/src/qml/EmptyChatPage.qml
@@ -29,7 +29,6 @@ ImageBackgroundPage {
 
 		ChatInfo {
 			text: qsTr("Select a chat to start")
-			level: 1
 			font.weight: Font.Medium
 			wrapMode: Text.Wrap
 			horizontalAlignment: Text.AlignHCenter
diff --git a/src/qml/elements/ChatInfo.qml b/src/qml/elements/ChatInfo.qml
index 26f00cc96..1d10f9a79 100644
--- a/src/qml/elements/ChatInfo.qml
+++ b/src/qml/elements/ChatInfo.qml
@@ -6,8 +6,7 @@ import QtQuick
 import QtQuick.Controls as Controls
 import org.kde.kirigami as Kirigami
 
-Kirigami.Heading {
-	level: 5
+Controls.Label {
 	leftPadding: font.pixelSize * 0.7
 	rightPadding: leftPadding
 	topPadding: leftPadding * 0.4
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.