In our project, RibbonGroup will be designed to disappeared or only one RibbonGroup in per RibbonTab. But we found RibbonGroup cannot be reset height and width, even the width is set upper limit if it have many RibbonButton. So my question is how can reset RibbonGroup width and height?
3 Answers, 1 is accepted
0
Simon
Telerik team
answered on 11 Apr 2011, 12:23 PM
Hello ning,
What do you mean by reseting the width/height of the Groups? Can you please be a bit more specific or give me a simple example?
Greetings,
Simon
the Telerik team
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Public Issue Tracking
system and vote to affect the priority of the items
rbt.Text= "Tab1";
RibbonBarGroup rbg = new RibbonBarGroup();
rbg.Width = Unit.Pixel(950);
rbg.Height= Unit.Pixel(30);
RibbonBarButton rbb1 = new RibbonBarButton();
rbb1.Text = "Button1";
rbg.Buttons.Add(rbb1);
rbt.Groups.Add(rbg);
RibbonBar1.Tabs.Add(rbt);
I want to create a RibbonBar with 960pix width, and it contains one RibbonTab named 'Tab1'. This tab contains only one RibbonGroup, I hope this group's width is little smaller than RibbonBar however much buttons the grouop contains. But the reality is the group's will automatic resize to match the total size of buttons and the upper limit of its width is 300px, button will over border of group if the group have many buttons.
0
Simon
Telerik team
answered on 16 Apr 2011, 12:29 AM
Hi ning,
Thank you for the clarification.
We logged this as a possible feature to implement in future versions of RadRibbonBar.
I also updated your Telerik points for the suggestion.