Hi
I'm using IG XamRibbon version 12.1.
In the attached image i'm showing how the ButtonTool appear by deafult and how appear after click event(after wich i change Caption and Image). Because the new Caption is longer than previous one, the buttontool's width get increased.
I would like that the ButtonTool width is not increased/decreased but always the same either the it's clicked o not. Is it possible ?
Thank you
Hello,
Thank you for your post. I have been looking into it and I can suggest you create a Style for the ButtonToolControl element and set its MaxWidth Property to 42, which is default width of the control or to a value that fits your scenario best. Please let me know if this helps you or you need further assistance on this matter.
Looking forward for your reply.
hi Stefan
I your solution worked with a little edit.
I created a Style for the ButtonToolControl and setted the MinWidth (to the Width of largest button). In this way Button's Width isn't changed after changing image and description.