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
675
ButtonTool with MinWidth has odd alignment
posted

I have a ButtonTool on my ribbon whose caption can change. To prevent the button from resizing (and making the entire ribbon to the right of it jump in a very weird way), I set MinWidth.

This prevents the jumpiness, but the alignment within the tool is wrong. It auto-centers the image and text with eachother, and then jams it to the left side of the button. So I now have a button with a picture and text nicely aligned with eachother, but not within the ButtonTool.

I'm attempting to switch to a label + button without text, but I was wondering if there's an easy way out here?