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

Fix tab text color #32

Merged
merged 3 commits into from
Sep 6, 2022
Merged

Conversation

emilk
Copy link
Contributor

@emilk emilk commented Sep 5, 2022

Previously the tab text color was always a weird green.

This was due to a bit of (very) unintuitive egui API (sorry!): unless a color is set in WidgetText, the default text color is an ugly shade of green to remind you to set a color.

Before:

Screen Shot 2022-09-05 at 22 10 24

After:

Screen Shot 2022-09-05 at 22 09 26

Previously the tab text color was always a weird green.

This was due to a bit of (very) unintuitive egui API (sorry!):
unless a color is set in `WidgetText`, the default text color
is an ugly shade of green to remind you to set a color.
@emilk emilk marked this pull request as ready for review September 5, 2022 20:10
Copy link
Owner

@Adanos020 Adanos020 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, the green comes from WidgetText's Default implementation. Thanks for solving this.

@Adanos020 Adanos020 merged commit d431821 into Adanos020:main Sep 6, 2022
@emilk emilk deleted the fix-tab-text-color branch September 6, 2022 12:28
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.

3 participants