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

Removing of property AccentTextColor. #280

Closed
Dolefly opened this issue Nov 3, 2021 · 3 comments
Closed

Removing of property AccentTextColor. #280

Dolefly opened this issue Nov 3, 2021 · 3 comments

Comments

@Dolefly
Copy link

Dolefly commented Nov 3, 2021

This property that you removed under "Clean up code and remove unused property AccentTextColor." pull 278, is causing the project to cry though it is unused, it was created automatically on the earlier version. So if you have a project with more than 100 buttons you will need to comment out or delete this line, for example in my button;
this.btnDBSettings.AccentTextColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(64)))), ((int)(((byte)(129)))));
So the question is should we soldier on and delete or comment them?

@valimaties
Copy link

Hi @Dolefly ,
Personally, I deleted those lines of code.

@Dolefly
Copy link
Author

Dolefly commented Nov 3, 2021

Hi! @valimaties ,
it is a tedious work removing one by one or is there a better way?

@orapps44
Copy link
Collaborator

orapps44 commented Nov 3, 2021

Hi @Dolefly ,

You can comment or delete AccentTextColor property since it has been removed with PR #278.

If you are using light & dark mode it may also be necessary to reset NoAccentTextColor property value for each button.

this.btnDBSettings.NoAccentTextColor = System.Drawing.Color.Empty;

You can use some advanced text editor with macro to do it faster.

@orapps44 orapps44 closed this as completed Nov 3, 2021
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

No branches or pull requests

3 participants