In my application I automagically create the Tab, Ribbon Groups and content for the applications I host. I place a ToolHorizontalWrapPanel on each RibbonGroup and then place the ButtonTools, MenuTools, LabelTools, etc. on the Panel as the applications add menu items.
At run time after all is said and done, switching between tabs causes the Panels to render the ButtonTools as ImageOnly and ImageWithText and consistently toggles between the two as I switch back and forth. While interesting, this will be irritating to my users. See images attached. All I did between these two screen shots was navigate to my Tools Tab and back.
Suggestions for helping prevent this sort of behavior? Or is possibly this a bug. I don't want to always restrict my applications to one way or the other, I like the auto selection of best fit. A consistent best fit would be nice.
Thanks
KZ
This sounds like a bug. If only the tabs were switched and the window/ribbon wasn't resized then the tool sizing should be consistent. I can try to reproduce this based on the screenshots but it would be best if you could provide a sample that demonstrates the problem.
Hi,
Attached should be a zip containing a simple solution that shows the issue. Run the project and then simply mouse over two adjacent tabs over and over again (e.g. Tab 2 to Tab 3 to Tab 2 to Tab 3 to Tab 2 to Tab 3 etc.)
I should note that the MouseEnter event handler is not necessary, just makes it easier to repro. Clicking back and forth behaves the same.
I can reproduce this behavior every time.
Thank you for bringing the issue to our attention. It should be addressed in the first hotfix. You should contact the support group and reference issue # BR30604 so you can be notified when the hotfix is available.