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

Modal windows stretches to much

1 Answer 32 Views
Window
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Tomasz
Top achievements
Rank 1
Tomasz asked on 18 Apr 2013, 08:38 AM
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>

1 Answer, 1 is accepted

Sort by
0
Victor
Telerik team
answered on 18 Apr 2013, 11:59 AM
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.
Tags
Window
Asked by
Tomasz
Top achievements
Rank 1
Answers by
Victor
Telerik team
Share this question
or