Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
455
HorizontalTextAlignment=Left not working for GallleryItems
posted

Hi,

I'm currently working on a Ribbon gallery that should behave similar to the "Page Sizes" menu in Word 2010 (see attached screenshot - it's in german). It's not resize-able and all gallery items are left-aligned.

Everything works fine except the alignment of the gallery items. They are always centered, even though I added following styling to the GalleryItems:

<igRibbon:GalleryTool.ItemSettings>
   <igRibbon:GalleryItemSettings TextPlacement="RightOfImage" HorizontalTextAlignment="Left" />
</igRibbon:GalleryTool.ItemSettings>

The example I used for the gallery is taken from here:
http://help.infragistics.com/Help/NetAdvantage/WPF/2011.2/CLR4.0/html/xamRibbon_Gallery.html

Any ideas?

BR
Stephan

 

Parents Reply Children