Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / Silverlight > RibbonBar > RadRibbonContextualGroup header width

Not answered RadRibbonContextualGroup header width

Feed from this thread
  • Jose Vicente avatar

    Posted on Sep 12, 2011 (permalink)

    Hi.

    I'm working with RadRibbonBar control and I have an issue when trying to add some RadRibbonContextualGroups. The issue is that the header width for the contextual group is the width of its child tabs.

    I have a sample with a contextual group that has only one child tab. Text displayed in the RadRibbonContextualGroup header is greater than the text displayed in the tab. This makes the text on the contextual tab cut.

    How can I make the tab size to adjust to the header text ?

    Attached is an image that shows the problem. Here is a sample code:

    <UserControl x:Class="SilverlightApplication3.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
    mc:Ignorable="d">

    <Grid x:Name="LayoutRoot">
    <telerik:RadRibbonBar ApplicationName="test">

    <telerik:RadRibbonTab Header="Inicio" Margin="4,0" IsSelected="True" >
    <telerik:RadRibbonGroup Header="Aplicaciones">
    <telerik:RadRibbonButton Text="Button" />
    </telerik:RadRibbonGroup>
    </telerik:RadRibbonTab>

    <telerik:RadRibbonBar.ContextualGroupContainer>
    <telerik:RadRibbonContextualGroupContainer>
    <telerik:RadRibbonContextualGroup Header="Herramientas de Documentos" IsActive="True">
    <telerik:RadRibbonTab Header="Documentos" >
    <telerik:RadRibbonGroup Header="Aplicaciones">
    <telerik:RadRibbonButton />
    <telerik:RadRibbonButton />
    <telerik:RadRibbonButton />
    </telerik:RadRibbonGroup>
    </telerik:RadRibbonTab>

    </telerik:RadRibbonContextualGroup>
    </telerik:RadRibbonContextualGroupContainer>
    </telerik:RadRibbonBar.ContextualGroupContainer>
    </telerik:RadRibbonBar>
    </Grid>
    </UserControl>
    Attached files

    Reply

  • Petar Mladenov Petar Mladenov admin's avatar

    Posted on Sep 15, 2011 (permalink)

    Hello Jose Vicente,

    We are aware of this issue in the RibbonBar and RibbonView and it is logged in our PITS(RibbonView: Define the ContextualGroup width accordingly to the width of its header) where you can track its status. Please accept our apologies for the inconvenience caused.

    Kind regards,
    Petar Mladenov
    the Telerik team

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

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / Silverlight > RibbonBar > RadRibbonContextualGroup header width