Fine-tune window rounding and align announcement/ticket layouts
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
xmlns:uctrl="clr-namespace:C4IT_CustomerPanel.UserControls"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:shell="clr-namespace:System.Windows.Shell;assembly=PresentationFramework"
|
||||
Title="Customer Panel"
|
||||
Height="650"
|
||||
Width="500"
|
||||
@@ -244,11 +245,24 @@
|
||||
<Window.TaskbarItemInfo>
|
||||
<TaskbarItemInfo />
|
||||
</Window.TaskbarItemInfo>
|
||||
<shell:WindowChrome.WindowChrome>
|
||||
<shell:WindowChrome CaptionHeight="72"
|
||||
CornerRadius="18"
|
||||
GlassFrameThickness="0"
|
||||
ResizeBorderThickness="0"
|
||||
UseAeroCaptionButtons="False" />
|
||||
</shell:WindowChrome.WindowChrome>
|
||||
|
||||
<Grid x:Name="MainGrid"
|
||||
Background="{DynamicResource backgroundColor}">
|
||||
<DockPanel Width="{Binding ActualWidth, ElementName=Window, Mode=OneWay}"
|
||||
x:Name="MainDock">
|
||||
<Border CornerRadius="18"
|
||||
BorderThickness="1"
|
||||
BorderBrush="{DynamicResource panelBorderColor}"
|
||||
Background="{DynamicResource backgroundColor}"
|
||||
ClipToBounds="True">
|
||||
<Grid>
|
||||
<DockPanel Width="{Binding ActualWidth, ElementName=Window, Mode=OneWay}"
|
||||
x:Name="MainDock">
|
||||
<Grid DockPanel.Dock="Top"
|
||||
x:Name="GridTop"
|
||||
Width="{Binding ActualWidth, ElementName=Window, Mode=OneWay}"
|
||||
@@ -712,12 +726,12 @@
|
||||
|
||||
|
||||
<uctrl:Announcements x:Name="AnnouncementCtrl"
|
||||
Canvas.Left="10"
|
||||
Canvas.Left="0"
|
||||
Canvas.Top="10"
|
||||
Visibility="Visible"/>
|
||||
|
||||
<uctrl:ComputerInformation x:Name="ComputerInfoCtrl"
|
||||
Canvas.Left="12"
|
||||
Canvas.Left="0"
|
||||
Canvas.Top="10"
|
||||
Visibility="Collapsed"/>
|
||||
|
||||
@@ -739,13 +753,15 @@
|
||||
</Canvas>
|
||||
|
||||
</StackPanel>
|
||||
</DockPanel>
|
||||
<Image Source="Resources/United-Kingdom-Flag-icon.png"
|
||||
Panel.ZIndex="1001"
|
||||
VerticalAlignment="Bottom"
|
||||
HorizontalAlignment="Left"
|
||||
Stretch="None"
|
||||
Margin="80,0,0,140" />
|
||||
</DockPanel>
|
||||
<Image Source="Resources/United-Kingdom-Flag-icon.png"
|
||||
Panel.ZIndex="1001"
|
||||
VerticalAlignment="Bottom"
|
||||
HorizontalAlignment="Left"
|
||||
Stretch="None"
|
||||
Margin="80,0,0,140" />
|
||||
</Grid>
|
||||
</Border>
|
||||
</Grid>
|
||||
</Window>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user