Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Sep 18 19:48
    Build #1085 passed
  • Sep 18 19:40

    batzen on develop

    Upgrading XAMLTools Upgrading SDK (compare)

  • Sep 18 08:02
    Build #1084 passed
  • Sep 18 07:43

    batzen on develop

    Formatting XAML (compare)

  • Sep 05 14:24
    batzen milestoned #1063
  • Sep 05 14:23
    batzen labeled #1063
  • Sep 05 14:23
    batzen commented #1063
  • Sep 05 07:33
    jensdenbraber opened #1063
  • Sep 04 13:28
    batzen commented #1059
  • Sep 04 13:22
    SkinnySackboy closed #1059
  • Sep 04 13:22
    SkinnySackboy commented #1059
  • Sep 04 13:15
    batzen labeled #1059
  • Sep 04 13:15
    batzen commented #1059
  • Sep 04 12:26
    SkinnySackboy commented #1059
  • Sep 04 12:26
    SkinnySackboy commented #1059
  • Sep 02 20:34
    batzen commented #1059
  • Sep 02 13:47
    Build #1083 passed
  • Sep 02 13:40
    Build #1082 passed
  • Sep 02 13:34

    batzen on develop

    Use pattern (compare)

  • Sep 02 13:33

    batzen on develop

    Prevent group scrolling when mo… Use CRLF as line endings (compare)

stefmancio
@stefmancio
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!
Bastian Schmidt
@batzen
ribbon_scaling.gif
The showcase application of Fluent.Ribbon has such scaling.
It looks like this:
Jason Becker
@BeckerJason
Hello! I am trying to add a grid to one of my tab items in Backstage. I would like to visually modify the items in my grid in the editor but I am unable to open Backstage in the editor. Am I missing something? I have tried setting backstage to IsOpen="True" But this had no change.
Bastian Schmidt
@batzen
@BeckerJason It doesn't work because of designer limitations. To prevent further issues during design time the backstage control has code to prevent opening in design mode.
You could use a separate user or custom control, design that and use it in the backstage or copy the code from there to the backstage when you are done designing.
Taldrit78
@Taldrit78
Hi, I have some classes that build the ribbon menu. On the first tab I create, the header (depending on the language) is set and the first letter is taken as KeyTip automatically (I haven't set the KeyTip even once in my whole program), but only on the first. The later once I have to set by hand.
Is there anything I am missing? What should I do to automatically set the KeyTip on all Tabs and Buttons?
Taldrit78
@Taldrit78
Oh and the content of the first tab is a BackstageTabControl. Has it something to do with that?
Bastian Schmidt
@batzen
@Taldrit78 The Backstage automatically gets a KeyTip, as do all items in the QAT. Everything else does not automatically get KeyTips.
Carla Rivera
@cprivera
Hello, is there anywhere I might find a sort of overview of the Fluent.Ribbon architecture? Just trying to save some time in understanding the codebase better, if not that's fine!
Bastian Schmidt
@batzen
Sadly not, i am horrible at writing documentation.
But i will try to give you a brief overview tomorrow.
pboulton
@pboulton
Hi Bastian. Just started with Fluent.Ribbon. How do I make the equivalent of a 'Click' handler for a Fluent:BackstageTabItem? Thanks!
pboulton
@pboulton
Sorry, please ignore my last message! Cracked it! Sorry.