I'm just playing with the new RibbonBar control.
My first test: I use the xml template, create a new window, insert the ribbonbar control and add code for resize and load. Works fine.
But: The default height of the control seems not to be ok.
The original height was a little bit to small so some parts of the bar were truncated.
So I increased the height and now it was to big and I got a white stripe.
Changes of properties HideTabHeader or HidePanelText in IDE changes the height but it always looks not as expected.
So my question: Is the a way to calculate the correct height for the control to show the RibbonBar without truncation and without the white stripe?
I think there should be an automatic way or a function because bar height depends on settings in XML (e.g. Font and Font height). Also if I change properties HideTabHeader or HidePanelText at runtime the control height should be changed.