Hi, can someone tell me how (or maybe it's not possible) to center the content inside the RadRibbonButton? The text and image I set is always left justified for some reason. For each button I add to the tab (or group) I have a large image and text. I would like to center this if possible. HorizontalContentAlignment doesn't seem to do anything.
Example:
Or
Example:
RadRibbonButton button =
new
RadRibbonButton();
ImageSource imgs = ResourceLoader.GetResourceImage(buttonModel.AssemblyViewFileName, buttonModel.ButtonIconResourceName);
button.LargeImage = imgs;
button.Size = Telerik.Windows.Controls.RibbonView.ButtonSize.Large;
button.HorizontalContentAlignment = System.Windows.HorizontalAlignment.Center;
button.VerticalContentAlignment = System.Windows.VerticalAlignment.Center;
Or
<
telerikRibbon:RadRibbonGroup
Header
=
"Common"
>
<
telerikRibbon:RadRibbonButton
Text
=
"Home"
LargeImage
=
"/Resources/Home32.png"
Width
=
"70"
Size
=
"Large"
HorizontalContentAlignment
=
"Center"
/>
</
telerikRibbon:RadRibbonGroup
>