From 63ddfb6cb8437947440c94041db262fb72391eaa Mon Sep 17 00:00:00 2001 From: Darshan Phaldesai Date: Wed, 25 Feb 2026 15:07:36 -0700 Subject: [PATCH] SendBar: make overflowWidth bigger. also fix initial state for rich text button --- src/chatbar/SendBar.qml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/chatbar/SendBar.qml b/src/chatbar/SendBar.qml index 4a23e06c1..6e4a55658 100644 --- a/src/chatbar/SendBar.qml +++ b/src/chatbar/SendBar.qml @@ -28,7 +28,7 @@ RowLayout { required property real maxAvailableWidth - readonly property real overflowWidth: Kirigami.Units.gridUnit * 30 + readonly property real overflowWidth: Kirigami.Units.gridUnit * 50 function openLocationChooser(): void { Qt.createComponent('org.kde.neochat.chatbar', 'LocationChooser').createObject(QQC2.ApplicationWindow.overlay, { @@ -194,9 +194,10 @@ RowLayout { icon.name: "edit-select-text-symbolic" text: i18nc("@action:button", "Rich Text") display: QQC2.AbstractButton.IconOnly - onClicked: NeoChatConfig.sendMessageWith = checked checkable: true - + checked: NeoChatConfig.sendMessageWith === 1 + onClicked: NeoChatConfig.sendMessageWith = checked + QQC2.ToolTip.visible: hovered QQC2.ToolTip.delay: Kirigami.Units.toolTipDelay QQC2.ToolTip.text: text