1
0

Minor changes

This commit is contained in:
Benjamin Höglinger-Stelzer 2018-10-23 16:02:04 +02:00
parent 5be46955c4
commit 839dd7e71f
2 changed files with 18 additions and 9 deletions

View File

@ -7,18 +7,21 @@
xmlns:controls="clr-namespace:MahApps.Metro.Controls;assembly=MahApps.Metro"
mc:Ignorable="d"
Title="Derping Drivers - Windows driver settings detection tool"
Height="360" Width="880"
Height="600" Width="700"
ShowMaxRestoreButton="False"
ResizeMode="NoResize"
WindowStartupLocation="CenterScreen"
SaveWindowPosition="True"
BorderThickness="0"
GlowBrush="{DynamicResource AccentColorBrush}"
DataContext="{Binding RelativeSource={RelativeSource Self}}">
<Grid Margin="15">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto"/>
<ColumnDefinition Width="20"/>
<ColumnDefinition Width="*"/>
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
<RowDefinition Height="*" />
</Grid.RowDefinitions>
<GroupBox Grid.Column="0" Header="System details">
<GroupBox Grid.Row="0" Header="System details">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
@ -56,8 +59,11 @@
</Grid>
</GroupBox>
<GroupBox Grid.Column="2" Header="Summary">
<TextBlock TextAlignment="Justify">Lorem ipsum</TextBlock>
<GroupBox Grid.Row="1" Margin="0,15,0,0" Header="Device Driver Compatibility Summary">
<TextBlock Text="{Binding Path=SummaryText}"
TextAlignment="Justify"
TextWrapping="WrapWithOverflow"
FontSize="14px" />
</GroupBox>
</Grid>
</controls:MetroWindow>

View File

@ -46,5 +46,8 @@ namespace DerpingDrivers
/// </summary>
public string OsUpgradeStatus =>
OsUpgradeDetection.IsGrandfathered ? "In-place upgraded" : "Clean installation";
public string SummaryText =>
"Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.";
}
}