Changed userwindow layout

This commit is contained in:
PAL\cbo
2022-03-09 15:07:22 +01:00
parent 7c78765d5c
commit a64c7d0f71
2 changed files with 40 additions and 25 deletions
+2 -1
View File
@@ -39,7 +39,7 @@
</Grid.RowDefinitions> </Grid.RowDefinitions>
<DockPanel> <DockPanel>
<Border Height="25" Width="25" CornerRadius="5" Margin="2,0,0,0"> <Border Height="25" Width="25" CornerRadius="5" Margin="4,3,0,0">
<Border.Background> <Border.Background>
<ImageBrush Stretch="Fill" ImageSource="/axlogo.ico"/> <ImageBrush Stretch="Fill" ImageSource="/axlogo.ico"/>
</Border.Background> </Border.Background>
@@ -131,4 +131,5 @@
</Border> </Border>
</Grid> </Grid>
</Window> </Window>
+30 -16
View File
@@ -28,9 +28,18 @@
<Grid> <Grid>
<Border BorderBrush="#0082C4" BorderThickness="1.5" CornerRadius="10" Background="White"> <Border BorderBrush="#0082C4" BorderThickness="1.5" CornerRadius="10" Background="White">
<StackPanel>
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition />
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition Height="auto"/>
<RowDefinition Height="*" />
</Grid.RowDefinitions>
<DockPanel> <DockPanel>
<Border Height="25" Width="25" CornerRadius="5" Margin="2,0,0,0"> <Border Height="25" Width="25" CornerRadius="5" Margin="4,3,0,0">
<Border.Background> <Border.Background>
<ImageBrush Stretch="Fill" ImageSource="/axlogo.ico"/> <ImageBrush Stretch="Fill" ImageSource="/axlogo.ico"/>
</Border.Background> </Border.Background>
@@ -48,35 +57,40 @@
<TextBlock Text="x" Margin="0,-5,0,0"/> <TextBlock Text="x" Margin="0,-5,0,0"/>
</Button> </Button>
</DockPanel> </DockPanel>
<GroupBox Margin="15,5,15,10"
VerticalAlignment="Center" <GroupBox Margin="10,2,10,10"
VerticalAlignment="Stretch"
BorderBrush="LightGray" BorderBrush="LightGray"
BorderThickness="1" BorderThickness="1"
Header="Ambienti"> Header="Ambienti"
<StackPanel Name="LayoutRoot" Grid.Row="1">
VerticalAlignment="Center"
Margin="5,5,5,5"> <Grid>
<Grid.RowDefinitions>
<RowDefinition />
<RowDefinition Height="60" />
</Grid.RowDefinitions>
<Button Style="{StaticResource TabButton}" <Button Style="{StaticResource TabButton}"
x:Name="LIVE" x:Name="LIVE"
Click="ButtonClicked" Click="ButtonClicked"
Height="115" Width="325" Margin="5"
Content="LIVE" Content="LIVE"
FontSize="36" FontSize="36"
Background="LightGray"/> Background="LightGray"/>
<DockPanel HorizontalAlignment="Center"
Margin="0,10,0,0">
<Button Style="{StaticResource TabButton}" <Button Style="{StaticResource TabButton}"
x:Name="STAGING" x:Name="STAGING"
Click="ButtonClicked" Click="ButtonClicked"
Height="45" Width="325" Margin="5"
Content="STAGING" Content="STAGING"
FontSize="18" FontSize="18"
FontWeight="DemiBold" FontWeight="DemiBold"
Background="#FFFF00"/> Background="#FFFF00"
</DockPanel> Grid.Row="2"/>
</StackPanel> </Grid>
</GroupBox> </GroupBox>
</StackPanel> </Grid>
</Border> </Border>
</Grid> </Grid>
</Window> </Window>