Ribon bar tab size

7 posts, 1 answers
  1. neha
    neha avatar
    13 posts
    Member since:
    Jul 2010

    Posted 17 Sep 2010 Link to this post

    Hello all

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

    Regards
    Neha

  2. Peter
    Admin
    Peter avatar
    1148 posts

    Posted 23 Sep 2010 Link to this post

    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
  3. UI for WinForms is Visual Studio 2017 Ready
  4. neha
    neha avatar
    13 posts
    Member since:
    Jul 2010

    Posted 23 Sep 2010 Link to this post

    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
  5. Peter
    Admin
    Peter avatar
    1148 posts

    Posted 28 Sep 2010 Link to this post

    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
  6. neha
    neha avatar
    13 posts
    Member since:
    Jul 2010

    Posted 28 Sep 2010 Link to this post

    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
  7. neha
    neha avatar
    13 posts
    Member since:
    Jul 2010

    Posted 30 Sep 2010 Link to this post

    Hello Peter

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

    Thanks & regards
    Neha
  8. Answer
    Peter
    Admin
    Peter avatar
    1148 posts

    Posted 30 Sep 2010 Link to this post

    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
Back to Top
UI for WinForms is Visual Studio 2017 Ready