Panel Bar items not sizing correctly

4 posts, 0 answers
  1. lee_bnsf
    lee_bnsf avatar
    16 posts
    Member since:
    Apr 2007

    Posted 28 Sep 2009 Link to this post

    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

  2. Dimitrina
    Admin
    Dimitrina avatar
    442 posts

    Posted 30 Sep 2009 Link to this post

    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.
  3. DevCraft banner
  4. Lee
    Lee avatar
    14 posts
    Member since:
    Nov 2009

    Posted 05 Nov 2009 Link to this post


    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
  5. Dimitrina
    Admin
    Dimitrina avatar
    442 posts

    Posted 11 Nov 2009 Link to this post

    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.
Back to Top