always align chat message text to the left

disable focus for notification windows
This commit is contained in:
Gaelle Braud 2026-02-24 17:15:03 +01:00
parent 4e9b38de66
commit 6f15bde0ce
2 changed files with 2 additions and 2 deletions

View file

@ -162,7 +162,7 @@ ColumnLayout {
}
delegate: ChatTextContent {
Layout.fillWidth: true
horizontalAlignment: mainItem.isRemoteMessage || implicitWidth > mainItem.width ? TextEdit.AlignLeft : TextEdit.AlignRight
horizontalAlignment: TextEdit.AlignLeft
// height: implicitHeight
contentGui: modelData
chatGui: mainItem.chatGui

View file

@ -40,7 +40,7 @@ Window {
property bool showAsTool : false
// Don't use Popup for flags : it could lead to error in geometry. On Mac, Using Tool ensure to have the Window on Top and fullscreen independant
// flags: Qt.WindowDoesNotAcceptFocus | Qt.BypassWindowManagerHint | (showAsTool?Qt.Tool:Qt.WindowStaysOnTopHint) | Qt.Window | Qt.FramelessWindowHint;
flags: Qt.SplashScreen | Qt.WindowStaysOnTopHint | Qt.FramelessWindowHint
flags: Qt.SplashScreen | Qt.WindowStaysOnTopHint | Qt.FramelessWindowHint | Qt.WindowDoesNotAcceptFocus
opacity: 1.0
height: _content[0] != null ? _content[0].height : 0
width: _content[0] != null ? _content[0].width : 0