Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backport "Merge PR #6442: FIX(client): Remove placeholder wrapping in ChatBar" to 1.5.x #6450

Merged
merged 2 commits into from
Jun 2, 2024

Conversation

Krzmbrzl
Copy link
Member

@Krzmbrzl Krzmbrzl commented Jun 2, 2024

Backport

This will backport the following commits from master to 1.5.x:

Questions ?

Please refer to the Backport tool documentation

Hartmnt added 2 commits June 2, 2024 13:59
We simulate placeholder text by setting the actual value of
the text edit to "qsDefaultText". This allows us to use html
in the placeholder text.
However, the entire text is being displayed no matter the window size.
That can lead to annoying automatic resizing while typing and sending messages.

This commit changes the behavior of the ChatBar to switch the wrap
mode and elide the text depending on whether we are currently displaying placeholder
text.

Fixes #1823

(cherry picked from commit abcddad)
@Hartmnt Hartmnt merged commit 85e1a2d into 1.5.x Jun 2, 2024
21 checks passed
@davidebeatrici davidebeatrici deleted the backport/1.5.x/pr-6442 branch June 2, 2024 20:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants