Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Comments

Set style for MasterWindow | #773#943

Merged
gucio321 merged 1 commit intoAllenDang:masterfrom
theaino:i773
Mar 18, 2025
Merged

Set style for MasterWindow | #773#943
gucio321 merged 1 commit intoAllenDang:masterfrom
theaino:i773

Conversation

@theaino
Copy link
Contributor

@theaino theaino commented Mar 16, 2025

I think this would be an easy fix for #773. You can simple set the style for the MasterWindow using SetStyle, thus reusing the code for the StyleSetter. If there is a style set, it just uses the Push and Pop methods of that StyleSetter instead of the default theme.

Copy link
Collaborator

@gucio321 gucio321 left a comment

Choose a reason for hiding this comment

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

lgtm, thank you!

@gucio321 gucio321 merged commit 29586b4 into AllenDang:master Mar 18, 2025
3 of 4 checks passed
@gucio321 gucio321 linked an issue Mar 18, 2025 that may be closed by this pull request
@theaino
Copy link
Contributor Author

theaino commented Mar 18, 2025

May I create a little example?

@gucio321
Copy link
Collaborator

sure, maybe add it as part of setstyle

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.

setTheme() override callback/disablement

2 participants