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
2115
UltraButton doesn't resize when autosize true and text is changed programmatically
posted

I am probably doing something wrong, but when I set the autosize of an UltraButton to true and change the text in code, the UltraButton isn't resized at runtime...

Is there a way to fix this?

Basically, in the InitializeComponent I'm setting the autosize to true and the text to "Discard changes and exit".

After InitializeComponent, the text gets set to for instance "Log off and some extra text". At runtime, I only see "Log off and som". The rest of the text is chopped off because off the size of the UltraButton...