This project is read-only.

Pivot label text not visible after last update

Aug 31, 2010 at 9:19 AM

Hey Tom,

after the last update, the label text of the pivots I'm using isn't visible any more. I can navigate in the pivot. Every other text is visible. This is how I generate the pivot nodes:

private NavigationNode CreateNode(string title, NavigationNode next)
            NavigationNode node = new NavigationNode();
            node.Control = new Label { AutoSize = true, Text = title, Alignment = Alignment.Far, Font = font, LineAlignment = Alignment.Near, FontScale = 0.875f };
            Size size = node.Control.Size;
            node.Size = new Size(size.Width + spaceSize, pivotHeight);
            node.Next = next;
            return node;

where font is defined as

font = FontSprite.FromData(GlFontFamily.GenericSansSerif, 16, FontStyle.Regular);

Do I have to change anything to get this working?



Aug 31, 2010 at 11:45 AM

you have to change Alignment = Alignment.Far to Alignment = Alignment.Near.


Aug 31, 2010 at 11:59 AM


great, now it works.  Thanks!