This project is read-only.

Multiline text gets cut off

May 19, 2010 at 11:24 AM


i have some ToggleButtons and SplitButtons on my Ribbon, some of them have a multiline Text e.g. "Page Setup". My problem is that the characters in the second line (only "q,p,g,j,y") gets cut off. If I tried a older version of Fluent 1.0 it works but since version 1.2 not.

The distance between the two text lines since version 1.2 is larger than in older versions (but only at runtime and not at designtime)

I tried to solve with verticalalignment and Height property see below

        <r:Button Height="Auto" Text="Page Setup" VerticalAlignment="Top" />

With the FluentTest sample it works fine!??


May 19, 2010 at 1:35 PM

Please, report us which OS & .NET are you using?

May 19, 2010 at 1:47 PM

Window 7 64bit with VisualStudio 2010 .NET 4.0

May 20, 2010 at 11:12 AM

I have temporary solved the problem by setting the TwoLineLabel height property in the controltemplate of Button, SplitButton, DropDownButton and ToggleButton to 30.

I've forgot to mention that we use PRISM within our project to load the Tabs as own Views perhaps thats the problem?

We also use Caliburn but I don't think this is going to constrain the Ribbon.

I hope this issue gets solved by one of the upcoming revisions because else I always need to change this properties in code if i need to use a newer version!


Thanks Alex