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

Bug in ExpressionDark.xaml - Radio Button Template #3

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

mwallnoefer
Copy link

The radio button's initial opacity needs to be set to 1, not 0. Otherwise the bullet is not shown on the initially selected entry, only after the first change.

The bug is also mentioned in the MSDN forum: https://social.msdn.microsoft.com/Forums/vstudio/en-US/c1aa5e04-bf61-4f37-9ca4-7cf1866c5ea8/the-bullet-in-a-radiobutton-becomes-invisible-after-applying-a-new-theme-at-runtime-via?forum=wpf&prof=required

Matthias Dieter Wallnöfer added 4 commits October 5, 2015 16:16
The radio button's initial opacity needs to be set to 1, not 0. Otherwise the bullet is not shown on the initially selected entry, only after the first change.

The bug is also mentioned in the MSDN forum: https://social.msdn.microsoft.com/Forums/vstudio/en-US/c1aa5e04-bf61-4f37-9ca4-7cf1866c5ea8/the-bullet-in-a-radiobutton-becomes-invisible-after-applying-a-new-theme-at-runtime-via?forum=wpf&prof=required
This comes handy in various situations.
If the list box item is large and the text label short I noticed that the click-able area was limited to the text bounds. This should not be the case since the whole ListBoxItem area including the blank area should be responsive.

Example:
|xxxxxx                      |
In this case ShadeBrush seems more appropriate than NormalBrush, also to notice the difference between the hover behaviour.
@mwallnoefer
Copy link
Author

Any news on this?

@StanislawSwierc
Copy link
Owner

@mwallnoefer Thank you for the contribution! It's been a while since I did some work on this project. I will look into your change this weekend and include it in the new NuGet package after I confirm it is good.

@mwallnoefer
Copy link
Author

Any news on this?

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.

2 participants