Modal windows stretches to much

2 posts, 0 answers
  1. Tomasz
    Tomasz avatar
    20 posts
    Member since:
    Apr 2012

    Posted 18 Apr 2013 Link to this post

    Hi,

    I've created a Modal Window and added some content but for some reason it stretches over my main grid :/ (see attachement)
    Here is the code:
    <Controls:RadModalWindow
        x:Name="qaInfo"
        Placement="CenterCenter">
         
        <Border
            BorderBrush="{StaticResource CPEBlue}"
            BorderThickness="2"
            Background="Black">
             
            <Grid>
                <Grid.RowDefinitions>
                    <RowDefinition/>
                    <RowDefinition/>
                </Grid.RowDefinitions>
                 
                <TextBlock
                    Grid.Row="0"
                    TextWrapping="Wrap"
                    Margin="5,0,5,0"
                    VerticalAlignment="Bottom">
                    Kod Quick Assistance przeznaczony jest dla Klientów indywidualnych.</TextBlock>
                 
                <Button
                    x:Name="qaInfoOKButton"
                    Grid.Row="1"
                    Content="Ok"
                    Click="qaInfoOKButton_Click"/>                   
            </Grid>
             
        </Border>
         
    </Controls:RadModalWindow>
  2. Victor
    Admin
    Victor avatar
    1351 posts

    Posted 18 Apr 2013 Link to this post

    Hi Tomasz,

    Please explain what stretches, the window itself or the window content? What is the desired layout?

    Kind regards,
    Victor
    the Telerik team
    Have a suggestion or face a problem - you can use the Ideas & Feedback portal to submit ideas, feedback and vote for them.
  3. DevCraft banner
Back to Top