When the window is small, the title is not fully displayed

4 posts, 0 answers
  1. Patrick
    Patrick avatar
    372 posts
    Member since:
    Aug 2012

    Posted 05 Feb 2014 Link to this post

    Hello,
    look at the two attached screen shots: the Normal image displays the window with a width large enough to display the full title, the Small image displays a window slightly smaller and the Smallest image displays an even smallest window. As you can see, the Small image displays not fully the title, even if it remains plenty of white space; and the Smallest image displays the title left aligned, with missing parts and plenty of empty space at the right.
    This is with the Office2013 theme.
    Note also that the font for the title is too small.
    Patrick
  2. Martin
    Admin
    Martin avatar
    1101 posts

    Posted 10 Feb 2014 Link to this post

    Hi Patrick,

    I wasn't able to reproduce the described behavior, but we have a similar feature request logged in our feedback portal, which is already implemented and it will be available with the next official release of our controls at the end of the February.

    However, I would be grateful if you provide me with a runnable project where the described issue is demonstrated. This will allow me to test it locally and further investigate it.

    Regards,
    Martin
    Telerik

    Check out the new Telerik Platform - the only modular platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native apps. Register for the free online keynote and webinar to learn more about the Platform on Wednesday, February 12, 2014 at 11:00 a.m. ET (8:00 a.m. PT).

  3. UI for WPF is Visual Studio 2017 Ready
  4. Patrick
    Patrick avatar
    372 posts
    Member since:
    Aug 2012

    Posted 11 Feb 2014 in reply to Martin Link to this post

    Hi Martin,
    I've made some additional test and the problem is visible only if you have additional content and the additional content is long.
    You can have the problem by creating a new WPF application, add the right references (including the Office2013 theme), and replacing MainWnd.xaml with:
    <tk:RadRibbonWindow
      x:Class="WpfApplication1.MainWindow"
      <DockPanel>
        <tk:RadRibbonView ApplicationButtonContent="File"
                          ApplicationName="VIS"
                          IsMinimizable="True"
                          MinimizeButtonVisibility="Visible"
                          Title="Name of the opened tournament"
                          DockPanel.Dock="Top">
     
          <tk:RadRibbonView.TabStripAdditionalContent>
            <Grid Margin="10 0 5 0">
              <Grid.Resources>
                <Style TargetType="TextBlock">
                  <Setter Property="FontSize" Value="14" />
                </Style>
              </Grid.Resources>
     
              <StackPanel Name="SignInGroup"
                          Background="Transparent"
                          Cursor="Hand"
                          Orientation="Horizontal"
                          VerticalAlignment="Center">
                <TextBlock Text="This is a long additional content" />
              </StackPanel>
            </Grid>
          </tk:RadRibbonView.TabStripAdditionalContent>
     
          <tk:RadRibbonTab Header="Tab 1">
            <tk:RadRibbonGroup Header="Group 1">
              <tk:RadRibbonButton Content="Button"/>
            </tk:RadRibbonGroup>
          </tk:RadRibbonTab>
        </tk:RadRibbonView>
         
      </DockPanel>
    </tk:RadRibbonWindow>

    When the window is resized horizontally, the title ends where the additional content starts.
    Also the font for the title is not of the right font size.
    Patrick
  5. Martin
    Admin
    Martin avatar
    1101 posts

    Posted 12 Feb 2014 Link to this post

    Hello Patrick,

    Thank your for the provided project. It helped us understand your scenario better.

    Unfortunately, this is a bug in the RadRibbonView control. It is logged in our feedback portal where you can track its status. 

    Regards,
    Martin
    Telerik

    Check out the new Telerik Platform - the only modular platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native apps. Register for the free online keynote and webinar to learn more about the Platform on Wednesday, February 12, 2014 at 11:00 a.m. ET (8:00 a.m. PT).

Back to Top