RadRibbonView Height issue - forces white space

2 posts, 0 answers
  1. James
    James avatar
    2 posts
    Member since:
    Sep 2012

    Posted 17 Sep 2012 Link to this post

    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?
  2. Tina Stancheva
    Tina Stancheva avatar
    3299 posts

    Posted 17 Sep 2012 Link to this post

    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.

Back to Top