How to add margin to image in Actipro SplitButton

Ribbon for WPF Forum

Posted 7 months ago by Jon Smith
Version: 19.1.0684
Avatar

Hello, 

I am using

<Actipro:SplitButton ImageSourceSmall="image_here" VariantSize="Medium" Label="Test"/>

How can i add a left margin before the image? (I believe Padding is not a good option here)

Thanks.

Comments (1)

Answer - Posted 7 months ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hi Jon,

I'm sorry but there isn't a way to control that in the templates at this time.  One thing you might be able to do though is change the ImageSourceSmallSize property from 16,16 to something like 20,16 and use a wider image with several transparent pixels on the left.  That might achieve what you want.


Actipro Software Support

The latest build of this product (v2020.1.0) was released 17 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.