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

PanelBar VerticalScrollBar Height

2 Answers 60 Views
PanelBar
This is a migrated thread and some comments may be shown as answers.
Tony Mocella
Top achievements
Rank 1
Tony Mocella asked on 11 Aug 2010, 04:28 PM
I've got a RadPanelBar with the Vertical/Horizontal Visibility properties set to Auto, which has been working initially when I display a user-control, but has some issues with resizing:

If I increase the height of my window, the vertical scrollbar's height seems to be aware of the increased height, and accounts for this, however, when I decrease the height of the window, the vertical scrollbar remains at the largest height it had reached previously. 

I recall some properties in WinForms you had to set in order to resize for grow-and-shrink, but I don't see anything like this in the WPF stack.  Is this resize behavior a known issue, or have I missed a setting that would make the scrollbar work as expected?

BTW - we're using version 2010.1.515.35 currently

Thanks,
Tony

2 Answers, 1 is accepted

Sort by
0
Vladislav
Telerik team
answered on 16 Aug 2010, 01:37 PM
Hello Tony Mocella,

Thank you for contacting us.
Unfortunately we aren't aware of such issue and I wasn't able to reproduce it.
I have created a sample project based on your description and it is working as expected.
Can you please check it and let us know if you are still reproducing it?
Feel free to modify the sample project as needed in order to reproduce the problem.

All the best,
Vladislav
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Tony Mocella
Top achievements
Rank 1
answered on 25 Aug 2010, 07:32 PM
After some further testing, it appears to be an issue of having the PanelBar inside of a StackPanel.  Once I removed the StackPanel, the scrollbars worked just as expected.

Thanks for you help/sample project to help me narrow down exactly what was going wrong in my code.

Tony
Tags
PanelBar
Asked by
Tony Mocella
Top achievements
Rank 1
Answers by
Vladislav
Telerik team
Tony Mocella
Top achievements
Rank 1
Share this question
or