This project is read-only.

Problem with ViewBoxes when deriving from RibbonWindow

Apr 4, 2012 at 12:46 PM

I try to evaluate Fluent.Ribbon for my application and at the moment I have many problems. It's not always so easy to reproduce these problems with small test applications, but here is one:

Simple Example:

<Fluent:RibbonWindow x:Class="FluentRibbonTest.MainWindow"
        Title="MainWindow" Height="600" Width="800">
        <Fluent:Ribbon DockPanel.Dock="Top">
            <Viewbox >
                <TextBlock>Text to display</TextBlock>

Is seems that the TextBlock is drawn with a very low resolution and then zoomed to fit the free space.

If I make my MainWindow derive from System.Windows.Window the problem is gone and the TextBlock is drawn very accurate.