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
1930
Fix size of ButtonTool
posted

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

Parents
No Data
Reply
  • 138253
    Offline posted

    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.

Children