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

Resize the Bar

3 Answers 88 Views
Panelbar (obsolete as of Q2 2010)
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Ryan
Top achievements
Rank 1
Ryan asked on 01 Apr 2008, 10:39 PM
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.

3 Answers, 1 is accepted

Sort by
0
Boyko Markov
Telerik team
answered on 02 Apr 2008, 08:42 AM
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
0
Ryan
Top achievements
Rank 1
answered on 02 Apr 2008, 01:59 PM
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                                         |  <-
__________________________________
0
Boyko Markov
Telerik team
answered on 02 Apr 2008, 03:04 PM
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
Tags
Panelbar (obsolete as of Q2 2010)
Asked by
Ryan
Top achievements
Rank 1
Answers by
Boyko Markov
Telerik team
Ryan
Top achievements
Rank 1
Share this question
or