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

Panel Bar items not sizing correctly

3 Answers 51 Views
PanelBar
This is a migrated thread and some comments may be shown as answers.
lee_bnsf
Top achievements
Rank 1
lee_bnsf asked on 28 Sep 2009, 02:41 PM
I'm running the latest internal build of the SL controls, 2009.2.925.1030.  I had to move to this build due to a memory leak I encounted in the SL Chart control.  Unfortunately, now the panelbar items do not take up the entire width of the panel bar.  This did not start until I moved to this newest build.  Now there is a gap on either side of the panelbar items. 

I've tried setting the width property of the items to HorizontalAlign.Stretch as well as to Auto (System.Double.NaN), but with no luck. 

Is there a new property that controls this somewhere that I've missed?

Thanks!

Lee

3 Answers, 1 is accepted

Sort by
0
Dimitrina
Telerik team
answered on 30 Sep 2009, 03:04 PM
Hi lee_bnsf,

Thank you for your feedback. We apologize for this problem. Problem is fixed and will be reflected in the upcoming internal build .

All the best,
Dimitrina
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Lee
Top achievements
Rank 1
answered on 05 Nov 2009, 09:42 PM

I am still experiencing this behavior in the Q3 2009 Beta2 version.

Can you tell me what version this has been addressed in?

My issue is, with RadPanelBarItem's width set to 'Auto' or horizontalAlignment set to 'Stretch', the RadPanelBarItems width will never match the RadPanelBar's width. I'm essentially trying to have the RadPanelBarItems dock/fill inside the RadPanelBar. When I fix the RadPanelBarItem's width to something smaller than the container of the RadPanelBar then there is a gap inbetween the RadPanelBarItems and the RadPanelBar's edge. When the RadPanelBarItem's width is not specified or Auto (the control inside is very large, larger than the outer container of the RadPanelBar), I exepect the RadPanelBarItem to shrink to the size of the RadPanelBar, the way the RadPanelBar shrinks to the size of its outer container when the RadPanelBar's width is default or Auto.

Thanks for the help!

- A different Lee
0
Dimitrina
Telerik team
answered on 11 Nov 2009, 09:44 AM
Hi Lee,

Thank you for your feedback.The problem is in the ScrollViewer's style which is used in PanelBar. This problem will be fixed in the upcoming build which will be in the end of the week.

Your Telerik points will be updated.

Kind regards,
Dimitrina
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
PanelBar
Asked by
lee_bnsf
Top achievements
Rank 1
Answers by
Dimitrina
Telerik team
Lee
Top achievements
Rank 1
Share this question
or