Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Aug 09 20:17
    jensdenbraber edited #1050
  • Aug 09 19:54
    jensdenbraber opened #1050
  • Aug 09 17:49
    Build #1055 passed
  • Aug 09 17:42
    Build #1054 passed
  • Aug 09 17:36
    Build #1053 passed
  • Aug 09 17:29

    batzen on develop

    Preparing for .NET 6 (compare)

  • Aug 09 17:29

    batzen on develop

    Fixing nullable (compare)

  • Aug 09 17:29

    batzen on develop

    Improving showcase Fixing template resource key Formatting XAML and 2 more (compare)

  • Aug 09 15:52
    Build #1052 passed
  • Aug 09 15:45
    batzen commented #1049
  • Aug 09 15:45

    batzen on develop

    Update RibbonTabControl.cs Ad… Update RibbonTabControl.xaml a… Merge pull request #1049 from z… (compare)

  • Aug 09 15:45
    batzen closed #1049
  • Aug 09 15:44
    batzen edited #1049
  • Aug 09 15:42
    batzen labeled #1049
  • Aug 09 15:41
    batzen labeled #1048
  • Aug 09 08:48
    Build #1051 passed
  • Aug 09 08:41
    zui-jiu-zhou opened #1049
  • Aug 05 14:57
    MuhammadSulaiman001 edited #1048
  • Aug 05 14:56
    MuhammadSulaiman001 edited #1048
  • Aug 05 14:52
    MuhammadSulaiman001 edited #1048
Qian Zhongxiang
@qianzhongxiang
hi, Bastian, I find if I put user control in Header, the click event will be ignored by Backstage. The BackstageAdorner opens when clicking the Backstage border, and nothing happened when clicking the icon in Header. I found the event handler code below.
image.png
This code snippet was cut from "Backstage.cs", and is it bringing the problem above?
Qian Zhongxiang
@qianzhongxiang
And how can I solve it?
Bastian Schmidt
@batzen
You can try to set IsHittestVisible to false on your control.
Qian Zhongxiang
@qianzhongxiang
Thanks, it works for me.
stefmancio
@stefmancio
hi
i'd like to style the menu that appears on right click of main ribbon
image.png
this one.. how can i reach this menu?
Bastian Schmidt
@batzen
It uses the default ContextMenu style, so overwriting that should also change the styling of that menu.
stefmancio
@stefmancio
thanks!
stefmancio
@stefmancio
sorry .. there is a way to style the "white line" that separe different groups?
image.png
the vertical line before the icon save... i'd like to chabge color to dark...
Bastian Schmidt
@batzen
image.png
I have no clue why it's so bright in your screenshot.
The default in the dark theme should look like this:
The resource key for the separator in groups is Fluent.Ribbon.Brushes.GroupSeparator.Background
and is of type Brush
Carla Rivera
@cprivera
Hello! Is there a place where I could look at like, a class definition for the DropDownButton and/or ComboBox? For context I'm working on some accessibility bugs and I just want to understand what my options are for what properties can be set with databinding, what templates are available and just in general the nitty gritty of the controls themselves to see if that might help me figure out why what we have now isn't working.... kinda picking at straws at this point and trying to find any documentation that could be remotely helpful haha
Bastian Schmidt
@batzen
Hi Carla. You can find the source code for the controls at https://github.com/fluentribbon/Fluent.Ribbon/tree/develop/Fluent.Ribbon/Controls and the code for the automation peers at https://github.com/fluentribbon/Fluent.Ribbon/tree/develop/Fluent.Ribbon/Automation/Peers. What exactly doesn't work? It would be nice if you could create one or multiple issues on GitHub for your problems. Maybe we can solve them together. Or if you want to fix them yourself it would be nice if you could contribute those fixes back through a pull request.
stefmancio
@stefmancio
hi Bastian thanks! the default theme was light.. i had to create a custom for the dark mode respecting colors of app dark mode (user can switch)..btw thanks! i solved with ur suggestion!
image.png
can i remove the line above (or make it transparent?)
the white one.. appears while the ribbon is not collapsed..
Bastian Schmidt
@batzen
@stefmancio Fluent.Ribbon comes with a dark theme built in (completely with the ability to sync with windows settings etc.), may i ask why you had to build your own?
The resource key you are looking for should be "Fluent.Ribbon.Brushes.RibbonTabItem.BorderBrush"
Carla Rivera
@cprivera
The issue is that Narrator is not able to read the tool tips set on DropDownButtons, I haven't exactly pinpointed if the problem is with the DropDownButton, the way the tool tip is set, or Narrator itself, although I don't think it's because of the way the tool tip is set because it can be successfully read in NVDA.... I've seen the issue in various instances where our application uses a DropDownButton though, so maybe that narrows it down?
I haven't check if every DropDownButton has this problem but every instance of the problem I've seen does involve a DropDownButton, if that clarifies a bit
Bastian Schmidt
@batzen
Are you using a regular tooltip or a ScreenTip? There is no special handling for the tooltip in the dropdownbutton automation peer, so the automation peer shouldn't be the cause.
Carla Rivera
@cprivera
We're using a regular tooltip for all of them
Bastian Schmidt
@batzen
That's strange. Could you create a small application reproducing the issue?
stefmancio
@stefmancio
@batzen Just i had to change some color cause i had to use the colors of the main theme of the app they asked me to make... I used light theme as default . cause was perfect, for the dark i had to make some modify so i could have colors they asked me to use...
stefmancio
@stefmancio
image.png
sorry i have the very last question :) , is it possible to disable this tooltip?
Bastian Schmidt
@batzen
It should be possible if you create a x:Null resource with the key Fluent.Ribbon.Resources.RibbonTabControl.DisplayOptionsScreenTip. Haven't tried it myself as i am currently on mobile only.
stefmancio
@stefmancio
hi! I can't make it work... null resource is ignored...
stefmancio
@stefmancio
can i at least override Background color just for that Displayoptionscreentip?
Bastian Schmidt
@batzen
Thereis no dedicated resource for the background of that single ScreenTip. If you want to change the background of that single ScreenTip you can replace it with your own. Have a look at https://github.com/fluentribbon/Fluent.Ribbon/blob/a30344e5c7d66cebf0f6b5003cfa94a74ef9d61d/Fluent.Ribbon/Themes/Controls/RibbonTabControl.xaml#L132 to see how it's defined.
Carla Rivera
@cprivera
Just following up, I don't believe the issue was with the Fluent.Ribbon DropDownButton, it's been resolved as external to Narrator. Thanks for the help!
Bastian Schmidt
@batzen
You are welcome. I'm glad it wasn't my fault 🤣
stefmancio
@stefmancio
@batzen solved! thanks!! now is perfect ;)
gschlitt
@gschlitt
How do I set the font (fontweight, in particular) for a header in a ribbontabitem?
Bastian Schmidt
@batzen
Header is of type object so you can use whatever you want as the header.
So to change the fontweight you can use a textblock with your desired properties being set.
OliverGottschalk
@OliverGottschalk
Is there a way to change the width of the Startscreen tabs?
Bastian Schmidt
@batzen
You can use ItemsPanelMinWidth on StartScreenTabControl to change the width.
Carla Rivera
@cprivera
I'm working on an accessibility issue where when our application is viewed with the system text size set to 200% in a 1280x768 resolution screen, various of the buttons in the Ribbon are cut off/the text gets cut off. Do you think this is an issue that should be resolved in the styling of the buttons or the RibbonGroupBox ? I'm not sure which would make the most sense and/or be easier...
08-08-2022.png
(screenshot above for reference of the issue)
Bastian Schmidt
@batzen
That's a long standing issue as it's nearly impossible to get dynamic font sizes and correct layout working together.
For reference fluentribbon/Fluent.Ribbon#774
I had no increased interest in investing time in that issue as all applications i work on that use the ribbon use a fixed font size and offer built in scaling using layout transforms.
If you have any ideas on how to solve that issue i would be happy to talk about them.
Carla Rivera
@cprivera
Ah I see, thanks! Just out of curiosity could you explain a bit more about having a fixed font size and offering built in scaling using layout transforms? I'd like to better understand what the ideal environment for using the ribbon is since that could help me understand how to approach this. I also probably won't be spending time to work on this right now since I have other accessibility issues to resolve but I might revisit this in the future!