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

Use stylesheet to change appearance of QLineEdit used for editing a property value #828

Merged
merged 1 commit into from
Jul 9, 2024

Conversation

wawuwo
Copy link
Contributor

@wawuwo wawuwo commented Jul 8, 2024

In #818 @dsm mentioned that when property value text is being edited, the color of text background depends on current colorscheme (dark/light), which sometimes makes text barely visible.

With this commit the background color of QLineEdit, used to modifying property value, is set using stylesheet instead of QPalette.

In ra3xdh#818 @dsm mentioned that when property value text
is being edited, the color of text background depends on current
colorscheme (dark/light), which sometimes makes text barely visible.

With this commit the background color of QLineEdit, used to modifying
property value, is set using stylesheet instead of QPalette.
@dsm
Copy link
Collaborator

dsm commented Jul 8, 2024

I tested background issue is fixed, thanks.

@wawuwo wawuwo marked this pull request as ready for review July 8, 2024 21:43
@wawuwo wawuwo changed the title Use stylesheet to change background color when editing a property Use stylesheet to change appearance of QLineEdit used for editing a property value Jul 8, 2024
@ra3xdh
Copy link
Owner

ra3xdh commented Jul 9, 2024

Thanks! Merged.

@ra3xdh ra3xdh merged commit 44c7ae5 into ra3xdh:current Jul 9, 2024
6 checks passed
@ra3xdh ra3xdh linked an issue Jul 9, 2024 that may be closed by this pull request
4 tasks
@wawuwo wawuwo deleted the property-editing-background-color branch July 26, 2024 15:07
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.

Dark theme and rendering issue on windows
3 participants