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

View File

@ -46,5 +46,8 @@ namespace DerpingDrivers
/// </summary> /// </summary>
public string OsUpgradeStatus => public string OsUpgradeStatus =>
OsUpgradeDetection.IsGrandfathered ? "In-place upgraded" : "Clean installation"; 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.";
} }
} }