Menu Control text alignment

Hi,

Is there a way to configure the text alignment of the labels inside the menu control?

image

I believe currently it is left-aligned.

Regards,

Renzi

Hi Renzi,

Although there is no direct text alignment property on the menu control, you can implement the exact result by using the padding property.

For example, if you want right alignment, go to menu item, layout, type a pixel number in padding. Expand it, keep left padding to a bigger number and reduce padding for top, right, bottom. This way the text is aligned to the right.
image

Regards,
Jay

1 Like

I feel like this should be a feature request, because I would find it very useful to have centered menu items. This is especially needed on the horizontal layout because the left aligned looks strange.
In the mean time, I appreciate the workaround, thanks.