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

How to set the border color for the tab during mouseover? #753

Open
DaveInCaz opened this issue Nov 7, 2019 · 2 comments
Open

How to set the border color for the tab during mouseover? #753

DaveInCaz opened this issue Nov 7, 2019 · 2 comments
Assignees
Milestone

Comments

@DaveInCaz
Copy link

DaveInCaz commented Nov 7, 2019

I have been trying to figure out how to set the border color of the tab item itself when it is highlighted due to a mouseover. Currently what I have working is the following:

No mouseover:

image

Mouseover of Tab2:
image

As you can see in the mouseover case, there is no border at all (or a white border perhaps).

Which SolidColorBrush x:Key is used to control that border color? I looked through all the *Border* entries in https://github.com/fluentribbon/Fluent.Ribbon/blob/develop/Fluent.Ribbon/Themes/Themes/Theme.Template.xaml but none seem to affect it. Unless I missed it somehow.

Thank you!


Environment

  • Fluent.Ribbon v7.0,0
  • Windows 10
  • .NET Framework 4.7.2
@batzen
Copy link
Member

batzen commented Dec 1, 2019

There currently is no real border on mouse over.
The mouse over border template part has a border thickness of 0.

@batzen batzen self-assigned this Dec 1, 2019
@DaveInCaz
Copy link
Author

Thanks for looking into it.

A suggestion would be to have a nonzero border but default its color to the same as the tab background. That way it would consider to look / work as it does now, by default, but would allow customization.

Personally I don't think custom alterations to the border thickness value would be needed.

@batzen batzen added this to the Next milestone Dec 7, 2019
@batzen batzen removed their assignment Oct 3, 2020
@batzen batzen removed this from the Future milestone Oct 3, 2020
@batzen batzen added this to the 11.0 milestone Mar 3, 2024
@batzen batzen removed the help wanted label Mar 3, 2024
@batzen batzen self-assigned this Mar 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants