This is a migrated thread and some comments may be shown as answers.

DocumentTab text problem on metro style

1 Answer 130 Views
Dock
This is a migrated thread and some comments may be shown as answers.
Attila Pados
Top achievements
Rank 1
Attila Pados asked on 13 Sep 2012, 06:19 AM
Hello,

I installed new Winforms 2012 Q2 SP1 package and i have found the following problem.
Texts of documentTabs are misplaced in metro style, when i order them to left.
I attached the error screens.

Could you help me?

Thank you

Csaba

1 Answer, 1 is accepted

Sort by
0
Nikolay
Telerik team
answered on 17 Sep 2012, 12:48 PM
Hello Csaba,

Thank you for reporting this.

In order to effectively handle this situation, we should have a mechanism which rotates the values of the Padding set to the tab items, in relation to the the text alignment, the tabs alignment and the close buttons. Such a mechanism does not exist at the moment, however. What we can do to improve the behavior is to set the TextAlignment of the tabs to MIddleLeft. This will result in the look shown in the attached screenshot. You can additionally improve the behavior by setting a Padding value appropriate in this specific case. Such a value would be (6, 4, 2, 2). The result of this action is shown in the second screenshot. I am attaching a modified versions of the themes that have the described properties set.

I have updated your Telerik points for the feedback. Let me know if you have additional questions.

Greetings,
Nikolay
the Telerik team
RadControls for WinForms Q2'12 release is now live! Check out what's new or download a free trial >>
Tags
Dock
Asked by
Attila Pados
Top achievements
Rank 1
Answers by
Nikolay
Telerik team
Share this question
or