I'm at my wits end.
How can I left-justify the text of menu items in a vertical menu?
By default each item's text is centered.
Thanks in advance,
Mike
Try UltraWebMenu.Images.XPSpacerImage.Width = Unit.Pixel(1);
Setting it to 0 can cause issues, so I generally recommend setting it to 1.
I too am trying to left-justify vertical menu text with no success - the text remains centre justified whatever I do.
Setting: UltraWebMenu.Images.XPSpacerImage.Width = Unit.Pixel(1); gets rid of the space on the left reserved for images, but does not left-justiy the text. I have tried the following:
Presumably the first and fourth items above have the same effect.
Nothing works, the menu text remains centered.
As ever, any suggestions gratefully received
Kind regards
Paul
Doh!
Found a rougue: Menu.TopAligment = TextAlignment.Center; buried in my code.
What a plonker!
Sorry if I wasted anybody's time.