Resize the Bar

4 posts, 0 answers
  1. Ryan
    Ryan avatar
    10 posts
    Member since:
    Apr 2008

    Posted 01 Apr 2008 Link to this post

    Is there a way to resize the bar portion of a panel bar without making a custom skin?  Basically I want to double the height of the bar.
  2. Boyko Markov
    Admin
    Boyko Markov avatar
    610 posts

    Posted 02 Apr 2008 Link to this post

    Hi Ryan,

    Thank you for contacting us.

    Could you expain in a bit more details what you mean by 'resize the bar portion of a panel bar '? 

    I'm looking forward to your reply.

    Best wishes,
    Boyko Markov
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Ryan
    Ryan avatar
    10 posts
    Member since:
    Apr 2008

    Posted 02 Apr 2008 Link to this post

    I mean the Title Bar portion of the RadPanelBarGroupElement.  I want to make them about twice as tall to accomodate larger images.

    __________________________________
    |    Title Here                                       |  <-
    __________________________________
    |                                                            |
    |                                                            |
    |                                                            |
    |                                                            |
    |                                                            |
    |                                                            |
    |                                                            |
    |                                                            |
    __________________________________
    |    Title Here                                         |  <-
    __________________________________
    __________________________________
    |    Title Here                                         |  <-
    __________________________________
  5. Boyko Markov
    Admin
    Boyko Markov avatar
    610 posts

    Posted 02 Apr 2008 Link to this post

    Hello Ryan,

    Thank you for the clarification. I am using the caption element's Padding property to change the height of the group's caption. I have tested the PanelBar layout system intensively, and I don't think there will be problem when you adjust the height.

    Q:How to set it?  
    A:Use the code below:

    int height = 15;
    group.GetCaptionElement().Padding = new Padding(0, height, 0, height );

    I hope this helps. Please contact me if you have any additional questions.

    All the best,
    Boyko Markov
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
Back to Top