DocumentTab text problem on metro style

2 posts, 0 answers
  1. Attila Pados
    Attila Pados avatar
    6 posts
    Member since:
    Aug 2009

    Posted 13 Sep 2012 Link to this post


    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

  2. Nikolay
    Nikolay avatar
    1805 posts

    Posted 17 Sep 2012 Link to this post

    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.

    the Telerik team
    RadControls for WinForms Q2'12 release is now live! Check out what's new or download a free trial >>
Back to Top