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

Ribbon groups do not resize

1 Answer 89 Views
RibbonView and RibbonWindow
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Ruth
Top achievements
Rank 1
Ruth asked on 24 Feb 2014, 07:15 PM
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> 

1 Answer, 1 is accepted

Sort by
0
Kiril Vandov
Telerik team
answered on 27 Feb 2014, 12:41 PM
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
Tags
RibbonView and RibbonWindow
Asked by
Ruth
Top achievements
Rank 1
Answers by
Kiril Vandov
Telerik team
Share this question
or