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

Wrong position of title and QuickAccessToolbar when using CollapseThresholdSize

1 Answer 121 Views
RibbonView and RibbonWindow
This is a migrated thread and some comments may be shown as answers.
Lasse
Top achievements
Rank 1
Lasse asked on 13 Mar 2014, 12:35 PM
When using the RadRibbonWindow in combination with RadRibbonView, I have an odd problem with the position of the quick access toolbar, and the title/application name. For some reason they become positioned below the title bar. See attached screen shots.

From my tests it appears, that the problem is only present when the property IsBackstageOpen is binded, and the property CollapseThresholdSize is
set. Removing CollapseThresholdSize solves the problem?

I can recreate the problem using this XAML:

<telerik:RadRibbonWindow x:Class="TelerikRibbon.MainWindow"
        xmlns:telerik="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.RibbonView"
        xmlns:controls="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Navigation"
       Title="Window title should not be displayed"
>
    <Grid>
        <telerik:RadRibbonView Title="RibbonView Title" ApplicationName="My Application" IsBackstageOpen="{Binding ShowBackStage}" CollapseThresholdSize="100,100" VerticalAlignment="Top"  ApplicationButtonContent="Fil" >
 
 
            <telerik:RadRibbonView.QuickAccessToolBar>
                <telerik:QuickAccessToolBar CustomizationMenuVisibility="Collapsed">
                    <telerik:RadRibbonButton Text="Open" SmallImage="/Images/Icons/open.png" Size="Small" />
                </telerik:QuickAccessToolBar>
            </telerik:RadRibbonView.QuickAccessToolBar>
 
            <!-- Backstage section-->
            <telerik:RadRibbonView.Backstage>
                <telerik:RadRibbonBackstage>
                    <!-- Save-->
                    <telerik:RadRibbonBackstageItem Header="Click here to save" Icon="/Images/Icons/save.png" CloseOnClick="True" IsSelectable="true" />
                </telerik:RadRibbonBackstage>
            </telerik:RadRibbonView.Backstage>
 
            <telerik:RadRibbonTab Header="Home">
                <telerik:RadRibbonGroup Header="Clipboard">
                    <telerik:RadRibbonSplitButton
                                                  Size="Large"
                                                  Text="Paste"
                                                  telerik:ScreenTip.Description="Paste the contents the Clipboard."
                                                  telerik:ScreenTip.Title="Paste(Ctrl+V)">
                        <telerik:RadRibbonSplitButton.DropDownContent>
                            <controls:RadContextMenu BorderThickness="0">
                                <controls:RadMenuItem Header="Paste" />
                                <controls:RadMenuItem Header="Paste Form" />
                            </controls:RadContextMenu>
                        </telerik:RadRibbonSplitButton.DropDownContent>
                    </telerik:RadRibbonSplitButton>
                </telerik:RadRibbonGroup>
            </telerik:RadRibbonTab>
            <telerik:RadRibbonTab Header="View" />
        </telerik:RadRibbonView>
    </Grid>
</telerik:RadRibbonWindow>


1 Answer, 1 is accepted

Sort by
0
Tina Stancheva
Telerik team
answered on 17 Mar 2014, 12:29 PM
Hello  Lasse,

Thank you for reprorting this issue. We can confirm that this is a bug in the RibbonView. It seems to be related both to the initial state of the Backstage menu - being open and the modified CollapsedThreasholdSize value. I logged a bug report in our feedback portal so that you can track the status of the item. I also updated your Telerik points accordingly.

Regards,
Tina Stancheva
Telerik
 

DevCraft Q1'14 is here! Watch the online conference to see how this release solves your top-5 .NET challenges. Watch on demand now.

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