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

Support MediumIcon (24x24) size in RibbonGroupBox #935

Closed
nishy2000 opened this issue May 8, 2021 · 0 comments · Fixed by #934
Closed

Support MediumIcon (24x24) size in RibbonGroupBox #935

nishy2000 opened this issue May 8, 2021 · 0 comments · Fixed by #934
Milestone

Comments

@nishy2000
Copy link
Contributor

If the RibbonGroupBox is disabled and collapsed state,
The icon will be displayed with the enabled appearance, not the disabled appearance.

How to reproduce this issue

  1. Modify TestContent.xaml. Add IsEnabled="False" attribute to a RibbonGroupBox.
    e.g.
<Fluent:RibbonGroupBox Icon="{DynamicResource Fluent.Ribbon.Images.DefaultPlaceholder}"
                        IsEnabled="False"
                        KeyTip="ZXB"
                        x:Name="B"
                        Header="Spinners"
                        IsLauncherVisible="True"
                        LauncherClick="OnLauncherButtonClick">
  1. Start Fulent.Ribbon.Showcase
  2. Show the modified RibbonGroupBox item
  3. Resize the window so that it is in the Collapsed state.
  4. RibbonGroupBox Icon is displayed with the enabled appearance, not the disabled appearance.

Environment

  • Fluent.Ribbon 9.0.0 preview (latest develop branch [a657b61])
  • Windows 10 Pro 20H2
  • .NET Framework 4.6.2 / net5.0-windows
batzen added a commit that referenced this issue May 13, 2021
…medium-icon

fix: #935 (Incorrect icon appearance), feat: #933 (support MediumIcon property of RibbonGroupBox)
@batzen batzen added this to the 9.0 milestone May 13, 2021
@batzen batzen changed the title The appearance of the RibbonGroupBox icon is not appropriate Support MediumIcon (24x24) size in RibbonGroupBox May 13, 2021
batzen added a commit that referenced this issue May 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants