Ribbon groups do not resize

2 posts, 0 answers
  1. Ruth
    Ruth avatar
    16 posts
    Member since:
    Nov 2011

    Posted 24 Feb 2014 Link to this post

    I've been working for a while with ribbon control but we did not have to implement resizing. Now I am adding additional properties to existing RibbonView to make it resizable but it does not resize. We are using 2012.1.326.1050 version of controls. I notices that DefaultPriority property is not available for a RibbonGroup, although I see it in your examples.

    Here is a snippet of RibbonView with the first Group. Any advice would be greatly appreciated.

    <telerik:RadRibbonView Grid.ColumnSpan="4" ApplicationButtonVisibility="Collapsed" TitleBarVisibility="Collapsed" BorderThickness="0" x:Name="rrbMenu" CollapseThresholdSize="10,10" >
      <telerik:RadRibbonTab Header="Home" x:Name="rbHome" HeaderVisibility="Collapsed" Visibility="Visible">
                        <telerik:RadRibbonGroup  Header="Package" x:Name="rrgPackage">
                            <telerik:RadRibbonGroup.Variants>
                                <telerik:GroupVariant Priority="20" Variant="Large" />
                                <telerik:GroupVariant Priority="15" Variant="Medium" />
                                <telerik:GroupVariant Priority="10" Variant="Small" />
                                <telerik:GroupVariant Priority="5" Variant="Collapsed" />
                            </telerik:RadRibbonGroup.Variants>
                            <telerik:RadCollapsiblePanel >
                            <telerik:RadRibbonButton  LargeImage="/EatonEG.DocGen.UI;component/Images/save.64.png" Text="Save" IsAutoSize="True"
                                                      SmallImage ="/EatonEG.DocGen.UI;component/Images/save.16.png" Size="Large"
      Command="{Binding ElementName=LayoutRoot, Path=DataContext.SaveCommand}" CommandParameter="{Binding PackageIdentifier}"
                                                      CollapseToMedium="WhenGroupIsMedium" CollapseToSmall="WhenGroupIsSmall"> 
                                <ToolTipService.ToolTip>
                                    <ToolTip Style="{StaticResource ToolTipStyle}" Content="Save Package"/>
                                </ToolTipService.ToolTip>
                            </telerik:RadRibbonButton>
                                <telerik:RadRibbonButton  LargeImage="/EatonEG.DocGen.UI;component/Images/undo.green.16.png" Text="Reset" IsAutoSize="True" Size="Large"
      Command="{Binding ElementName=LayoutRoot, Path=DataContext.ResetCommand}" CommandParameter="{Binding PackageIdentifier}"
                                                      CollapseToMedium="WhenGroupIsMedium" CollapseToSmall="WhenGroupIsSmall"> 
                                <ToolTipService.ToolTip>
                                    <ToolTip Style="{StaticResource ToolTipStyle}" Content="Reset Package"/>
                                </ToolTipService.ToolTip>
                            </telerik:RadRibbonButton>
                            </telerik:RadCollapsiblePanel>
                        </telerik:RadRibbonGroup> 
  2. Kiril Vandov
    Admin
    Kiril Vandov avatar
    324 posts

    Posted 27 Feb 2014 Link to this post

    Hello Ruth,

    We were not able to reproduce this issue with our latest official release. We highly recommend to our customers to upgrade to our latest binaries as all features requests and bug fixes are implemented there. That is why I would like to ask you to upgrade to our latest release and take a look at the sample project I have attached. Please let us know if you still reproduce the issue with binaries from our latest official release.

    I hope this information helps.

    Kind regards,
    Kiril Vandov
    Telerik
  3. DevCraft banner
Back to Top