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

RadRibbonView Height issue - forces white space

1 Answer 139 Views
RibbonView and RibbonWindow
This is a migrated thread and some comments may be shown as answers.
Top achievements
Rank 1
James asked on 17 Sep 2012, 01:54 PM
The RadRibbonView control appears to require a minimum height to display, leaving dead whitespace below it, the following does not display the actual ribbon bar:

<Grid x:Name="LayoutRoot">
<RowDefinition Height="150" />
<RowDefinition />
<telerik:RadRibbonView Grid.Row="0"  >
<telerik:RadRibbonTab Header="Home">
<telerik:RadRibbonGroup Header="Clipboard">
<telerik:RadRibbonSplitButton Text="Paste" 
                    telerik:ScreenTip.Description="Paste the contents the Clipboard.">
<telerik:RadContextMenu BorderThickness="0">
<telerik:RadMenuItem Header="Paste" />
<telerik:RadMenuItem Header="Paste Form" />

<t:RadDocking Grid.Row="1" x:Name="_docking" PreviewClose="_docking_OnPreviewClose">
<t:RadPaneGroup x:Name="_paneGroup">

but if I set the first row definition to 300 then it displays it with about 150px of dead white space below, why does the height of the control not work (incidentally specifying the RadRibbonView controls Height explicitly also does not change anything).  This is on Windows XP  Any ideas?

1 Answer, 1 is accepted

Sort by
Tina Stancheva
Telerik team
answered on 17 Sep 2012, 03:46 PM
Hello James,

Indeed the RadRibbonView is automatically collapsed in case its size is under the default threshold of 300x250px. This is a built-in feature of the control that is controlled through the CollapseThresholdSize property - you can use it to change the threshold size to a smaller value. The feature is described in more details in our online documentation.
Tina Stancheva
the Telerik team

Time to cast your vote for Telerik! Tell DevPro Connections and Windows IT Pro why Telerik is your choice. Telerik is nominated in a total of 25 categories.

RibbonView and RibbonWindow
Asked by
Top achievements
Rank 1
Answers by
Tina Stancheva
Telerik team
Share this question