-
-
Notifications
You must be signed in to change notification settings - Fork 779
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 dynamic style binding #840
Conversation
Fix PlaceholderTextBox FontSize binding Optimized Release version does not output debug files
src/Wpf.Ui/Resources/Theme/Dark.xaml
Outdated
@@ -17,10 +17,10 @@ | |||
--> | |||
|
|||
<Color x:Key="ApplicationBackgroundColor">#FF202020</Color> | |||
<SolidColorBrush x:Key="ApplicationBackgroundBrush" Color="{StaticResource ApplicationBackgroundColor}" /> | |||
<SolidColorBrush x:Key="ApplicationBackgroundBrush" Color="{DynamicResource ApplicationBackgroundColor}" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we really need a dynamic resource if the declaration is before it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And if so, it may be worth rebuilding the theme files to contain only Colors and Brushes in a separate, common one.
Hey @MakesYT, thank you for your PR, please take a look at the comments |
Co-authored-by: pomian <13592821+pomianowski@users.noreply.github.com>
Co-authored-by: pomian <13592821+pomianowski@users.noreply.github.com>
Now only some system-specific colors are dynamic |
Fix PlaceholderTextBox FontSize binding
Optimized Release version does not output debug files
Pull request type
Please check the type of change your PR introduces:
What is the current behavior?
Issue Number: N/A
What is the new behavior?
Fix dynamic style binding
Fix PlaceholderTextBox FontSize binding
Optimized Release version does not output debug files
Other information