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

Docks inside Splitter, resize problem

1 Answer 64 Views
Splitter
This is a migrated thread and some comments may be shown as answers.
Andy Ho
Top achievements
Rank 1
Andy Ho asked on 06 May 2010, 01:06 PM
Hi,

I created a Splitter (width=100%, but not setting its height as I want it to be dynamic) and added a sliding pane on the right  , then I put 2 docks inside the pane under the left areas.

I found that the docks can resize automatically based on their content but the size of the splitter remain unchanged, how to deal with this problem?

Thanks.


1 Answer, 1 is accepted

Sort by
0
Accepted
Tsvetie
Telerik team
answered on 10 May 2010, 01:13 PM
Hello Andy Ho,
The splitter control does not support the feature you need out of the box. In order to have the splitter as high as its content, you should:
  1. Calculate the height of the content
  2. Set the calculated value as height for the splitter.
You can use our Initially Resize the RadSplitter according to its content knowledge base article as a starting point.
Greetings,
Tsvetie
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.
Tags
Splitter
Asked by
Andy Ho
Top achievements
Rank 1
Answers by
Tsvetie
Telerik team
Share this question
or