Good day. I developed the application on a 4: 3 monitor and now bought 16: 9. At 4: 3 it is almost full screen and at 16: 9 almost nothing is visible. How to deal with this?
I would like to implement the mode in the whole window. But again, the elements remain in place only the window is stretched. How to increase them and leave in the same place?
When there is a lot of a piece, maybe if I finish it then I will do everything else according to the principle
<StackPanel Margin="0,90,0,0" Height="360" VerticalAlignment="Top" > <TabControl x:Name="MainTab" Height="393" Margin="0,-34,0,0" Background="{x:Null}" BorderBrush="{x:Null}" > <TabItem Header="Anastasia" Style="{DynamicResource TabButtons}" Margin="16,2,-16,-2" > <Grid HorizontalAlignment="Left" Width="311"> <TextBox x:Name="UserMessage" Margin="0,0,0,10" Background="{x:Null}" HorizontalAlignment="Right" VerticalAlignment="Bottom" Width="300" Foreground="White" KeyDown="UserMessage_KeyDown" PreviewKeyDown="UserMessage_PreviewKeyDown" > <TextBox.BorderBrush> <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0"> <GradientStop Color="#FF00E2C3" Offset="0"/> <GradientStop Color="#FF5100C7" Offset="1"/> </LinearGradientBrush> </TextBox.BorderBrush> </TextBox> <ListView x:Name="MainChat" ScrollViewer.HorizontalScrollBarVisibility="Disabled" ScrollViewer.VerticalScrollBarVisibility="Disabled" Background="{x:Null}" Margin="5,191,0,39" IsEnabled="False" Foreground="White" BorderBrush="{x:Null}" ItemTemplateSelector="{StaticResource TS}" ItemsSource="{Binding TempSelect}" Style="{DynamicResource ListViewStyle}" RenderTransformOrigin="0.5,0.5" HorizontalAlignment="Left" Width="304" > </ListView> <Label x:Name="UserCommand" Height="37" Margin="0,-5.5,0.333,294.5" Foreground="White" FontSize="16" HorizontalAlignment="Right" Grid.Column="1" d:LayoutOverrides="TopMargin, BottomMargin" /> <Button x:Name="SendButt" Content="{x:Static p:Resources.SendMessageButton}" Height="22.162" Margin="232,333,0,9" Style="{DynamicResource MainButtons}" Click="SendButt_Click" HorizontalAlignment="Left" Width="75"/> <Label x:Name="UserCommandShow" Margin="0,157,4,139" Foreground="White" FontSize="16" FontFamily="Adobe Caslon Pro Bold" HorizontalAlignment="Right" /> </Grid> </TabItem> 