RelativeSize does not work

2 posts, 0 answers
  1. Jacek Dudziak
    Jacek Dudziak avatar
    8 posts
    Member since:
    Sep 2009

    Posted 21 May 2011 Link to this post

    I have tried to folow example from your RadToolsSilverlightCourseware, but I cannot get the look your manual states. I would like to make sure that the whole screen is filled up by the panels using this code:




    UserControl x:Class="RadControlsSilverlightApp5.MainPage"


























    mc:Ignorable="d" d:DesignHeight="480" d:DesignWidth="640">





    <Grid x:Name="LayoutRoot">










    <telerik:RadSplitContainer InitialPosition="DockedTop"





























    <telerik:RadSplitContainer InitialPosition="DockedBottom"









    <telerik:RadPaneGroup telerik:ProportionalStackPanel.RelativeSize="20,0">















    <telerik:RadPaneGroup telerik:ProportionalStackPanel.RelativeSize="80,0">


































    But instead I am getting unused stripe between two split containers.
    How can I get rid of it?
  2. Konstantina
    Konstantina avatar
    2332 posts

    Posted 25 May 2011 Link to this post

    Hello Jacek,

    To make it work you will need to remove the DocumentHost. Just set the property HasDocumentHost to False.

    Please let us know if you have further questions.

    Kind regards,
    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
Back to Top