Autosize tab control after localization
New DiscussionHi everybody,
I am building a Winform application with 16.1 using a UltraTabControl with LeftTop TabOrientation
The content (text) of my controls will change at runtime according to selected Culture.
What I would like to achieve, is a complete auto-sizing of controls, in order to fit inner content.
I almost made it. Everything is resizing (tableLayout panels, labels, text boxes, etc). Still one thing is missing: tabPage.
If I change Tab Header text, the header will resize properly, but the content of the tabpage doesn’t.
Is there a way to force the tabpage itself to resize?
You can notice from the attached picture that the tab header resizes, while the tab page does not. More specifically, the content of the tab page resizes (label text, etc., according to Anchor property) but some controls overlap form border and are hence truncated, since the tab page itself does not resize.
Everything is set with AutoSize=True in my application, except the UltraTabControl itself, which does not provide such parameter. Can you suggest me a workaround to have the tabpage resizing according to inner controls?
I hope I made me understood
Thanks in advance
Valentina