fluentribbon / Fluent.Ribbon

WPF Ribbon control like in Office
http://fluentribbon.github.io
MIT License
2.53k stars 515 forks source link

More ContextualTabGroup questions #1213

Open lilhoser opened 2 weeks ago

lilhoser commented 2 weeks ago

Question 1: Left alignment

I have two contextual tab groups that when tabs are added appear this way (stacked):

image image

Can I force the red group to appear where the green group is appearing?

Question 2: Layout variations

Continuing from #1...If I close the above two contextual tabs, so that the contextual groups are hidden, and then re-add the tabs, the layout changes:

image image

I am hiding/showing the contextual groups and the tabs by toggling their Visibility attribute with Hidden or Visible as appropriate. Despite the documentation indicating otherwise, Collapsed does not work for me.

Question 3: Contextual group header disappears

Continuing from #2.. If I close the green contextual tab, causing that group to be hidden, the header for the red group disappears (but the tab remains visible):

image

Environment

batzen commented 1 week ago

Setting the visibility to Hidden will work exactly as it does everywhere in WPF. It just hides the visual group in the titlebar but still consumes the space and most likely break the layout. The only values for visibility being supported, for tabs and context tabs, are Visible and Collapsed.

Why doesn't Collapsed work for you? What happens if you use it?