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

Add Placeholder Color in Palette #4477

Merged
merged 3 commits into from
Mar 29, 2023

Conversation

Nerixyz
Copy link
Contributor

@Nerixyz Nerixyz commented Mar 25, 2023

Pull request checklist:

  • CHANGELOG.md was updated, if applicable

Description

This PR specifies a color for QPalette::PlaceholderText (added in Qt 5.12). This color wasn't used if not specified in Qt 5, but it's an independent color in Qt 6 (docs).

Furthermore, this PR also reorders the colors to make it more readable - all calls specifying a specific color-group are below the calls that specify a color for all color groups.

Doing this fixes the placeholder text in the QLineEdit in the settings dialog:

Before After
before after

@pajlada pajlada enabled auto-merge (squash) March 29, 2023 08:08
@pajlada pajlada merged commit 08ae43e into Chatterino:master Mar 29, 2023
@Nerixyz Nerixyz deleted the fix/add-placeholder-color branch October 6, 2023 14:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants