Smaller RibbonTab content

3 posts, 0 answers
  1. Frederic
    Frederic avatar
    4 posts
    Member since:
    Sep 2011

    Posted 15 Sep 2011 Link to this post

    Hello,

    It is possible to have a RibbonView with RibbonTabs content that are smaller than the standard height ?

    Ideally, I would like to have RibbonTabs with no RibbonGroup inside but with a container the height of a regular toolbar instead.

    Thanks a lot

    Frederic
  2. Petar Mladenov
    Admin
    Petar Mladenov avatar
    2891 posts

    Posted 20 Sep 2011 Link to this post

    Hello Frederic,

    The RadRibbonView follows a strict Microsoft Design Guidelines document and these Heights are constants. I prepared a project for you where the default Template of the RibbonView is edited and "SelectedTabContent" ContentPresenter height is decreased from 91 to 40:

    <ContentPresenter x:Name="SelectedTabContent" Height="40" Margin="1,-1,1,1" Grid.Row="2"/>
    Please note that this may lead to various issues. All the best,
    Petar Mladenov
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  3. DevCraft banner
  4. Frederic
    Frederic avatar
    4 posts
    Member since:
    Sep 2011

    Posted 29 Sep 2011 Link to this post

    Hello Petar,

    Due to the strict Microsoft Design Guidelines as you said, the RibbonView may not be the good control for what I'm trying to do.

    Nevertheless, the code example you provided is very informative.

    Thanks

    Frederic
Back to Top