SendBar: make overflowWidth bigger.
also fix initial state for rich text button
This commit is contained in:
@@ -28,7 +28,7 @@ RowLayout {
|
|||||||
|
|
||||||
required property real maxAvailableWidth
|
required property real maxAvailableWidth
|
||||||
|
|
||||||
readonly property real overflowWidth: Kirigami.Units.gridUnit * 30
|
readonly property real overflowWidth: Kirigami.Units.gridUnit * 50
|
||||||
|
|
||||||
function openLocationChooser(): void {
|
function openLocationChooser(): void {
|
||||||
Qt.createComponent('org.kde.neochat.chatbar', 'LocationChooser').createObject(QQC2.ApplicationWindow.overlay, {
|
Qt.createComponent('org.kde.neochat.chatbar', 'LocationChooser').createObject(QQC2.ApplicationWindow.overlay, {
|
||||||
@@ -194,9 +194,10 @@ RowLayout {
|
|||||||
icon.name: "edit-select-text-symbolic"
|
icon.name: "edit-select-text-symbolic"
|
||||||
text: i18nc("@action:button", "Rich Text")
|
text: i18nc("@action:button", "Rich Text")
|
||||||
display: QQC2.AbstractButton.IconOnly
|
display: QQC2.AbstractButton.IconOnly
|
||||||
onClicked: NeoChatConfig.sendMessageWith = checked
|
|
||||||
checkable: true
|
checkable: true
|
||||||
|
checked: NeoChatConfig.sendMessageWith === 1
|
||||||
|
onClicked: NeoChatConfig.sendMessageWith = checked
|
||||||
|
|
||||||
QQC2.ToolTip.visible: hovered
|
QQC2.ToolTip.visible: hovered
|
||||||
QQC2.ToolTip.delay: Kirigami.Units.toolTipDelay
|
QQC2.ToolTip.delay: Kirigami.Units.toolTipDelay
|
||||||
QQC2.ToolTip.text: text
|
QQC2.ToolTip.text: text
|
||||||
|
|||||||
Reference in New Issue
Block a user