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

Smaller RibbonTab content

2 Answers 55 Views
RibbonView and RibbonWindow
This is a migrated thread and some comments may be shown as answers.
Frederic
Top achievements
Rank 1
Frederic asked on 15 Sep 2011, 03:55 PM
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 Answers, 1 is accepted

Sort by
0
Petar Mladenov
Telerik team
answered on 20 Sep 2011, 03:41 PM
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 >>

0
Frederic
Top achievements
Rank 1
answered on 29 Sep 2011, 04:10 PM
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
Tags
RibbonView and RibbonWindow
Asked by
Frederic
Top achievements
Rank 1
Answers by
Petar Mladenov
Telerik team
Frederic
Top achievements
Rank 1
Share this question
or