-
-
Notifications
You must be signed in to change notification settings - Fork 458
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
Add clear button to settings search bar #3403
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Functionality works as intended. 👍
I also tested it with Arabic characters on a whim and the button correctly jumps to the left side and is still clickable.
Qt has clearButtonEnabled for inputs, the only difference is button disappear instead of graying out |
I was able to find a way to use |
Good addition, thank you! |
Now we're on commit f64047d; Changes from upstream we've pulled - Minor: Added clear button to settings search bar. (Chatterino#3403) - Minor: Added autocompletion for default Twitch commands starting with the dot (e.g. `.mods` which does the same as `/mods`). (Chatterino#3144) - Bugfix: Fixed character counter changing fonts after going over the limit. (Chatterino#3422)
Pull request checklist:
CHANGELOG.md
was updated, if applicableDescription
Adds an "x" icon to the right side of the settings search bar for easy unfiltering with a single click. When nothing is entered, the button darkens, and upon typing, the button brightens.
I decided to give this a go because text inputs (no matter where) that auto-filter something as the user types typically make more sense UX-wise if they have a clear button to undo the filtering.