This is a migrated thread and some comments may be shown as answers.

Ribon bar tab size

6 Answers 187 Views
RibbonBar
This is a migrated thread and some comments may be shown as answers.
neha
Top achievements
Rank 1
neha asked on 17 Sep 2010, 05:06 PM
Hello all

How can i decrease or increase the size of tab in ribbonbar control.

Regards
Neha

6 Answers, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 23 Sep 2010, 07:40 AM
Hello neha,

Thanks for writing and for your questions.

You can change the size of the tabs in RadRibbonBar using the following code snippet:

foreach (RibbonTab tab in raRibbonBar1.CommandTabs)
{
    tab.ScaleTransform = new SizeF(2, 2);
}

I want to mention that the size of the tabs in RadRibbonBar is calculated according to strict rules which are described in MS Office 2007 UI Design Guidelines. In other words, generally you should not set a custom size to the tabs in RadRibbonBar.

I hope this is helpful. 

 

All the best,
Peter
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
0
neha
Top achievements
Rank 1
answered on 23 Sep 2010, 11:10 AM
hello Peter

Thanks for your reply and concern.
I think i have framed my question in the wrong way.
I want to ask how to decrease or increase the size of ribbon bar panel on which we add radribbonbargroup element.

Please reply asap.

Thanks & Regards
Neha
0
Peter
Telerik team
answered on 28 Sep 2010, 02:47 PM
Hello neha,

I noticed that you have opened a ticket with the requirement to collapse RadRibbonBar.

In this case you could manually expand or collapse RadRibbonBar by setting its Expanded property.
In addition, you can enable/disable this functionality of RadRibbonBar by setting the CollapseRibbonOnTabDoubleClick property. This property gets or sets a value indicating whether the ribbon bar will be collapsed or expanded on a ribbon tab double click. 
You can also subscribe to the ExpandedStateChanged event. This event fires when RadRibbonBar is collapsed or expanded.

I hope this helps.
Greetings,
Peter
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
0
neha
Top achievements
Rank 1
answered on 29 Sep 2010, 04:17 AM
Hello Peter

Thanks for your reply.
I have done this already but the problem is dat after doing that also the on clicking the tab ribbonbar will show in autohide nature.
How can i make this thing disable.

Thanks & regards
Neha
0
neha
Top achievements
Rank 1
answered on 30 Sep 2010, 07:13 AM
Hello Peter

Actually i simply want this type of GUI,this gui is of opera browser 10.6.

Thanks & regards
Neha
0
Accepted
Peter
Telerik team
answered on 30 Sep 2010, 03:59 PM
Hello neha,

Please refer to the project in your ticket: Support for new type of GUI.

Regards,
Peter
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
Tags
RibbonBar
Asked by
neha
Top achievements
Rank 1
Answers by
Peter
Telerik team
neha
Top achievements
Rank 1
Share this question
or