mirror of
https://github.com/bloxstraplabs/bloxstrap.git
synced 2025-04-21 10:01:27 -07:00
fix aero windows freaking out
This commit is contained in:
parent
4119792514
commit
fce067ab4f
@ -22,47 +22,50 @@
|
|||||||
WindowStartupLocation="CenterScreen"
|
WindowStartupLocation="CenterScreen"
|
||||||
WindowStyle="None"
|
WindowStyle="None"
|
||||||
mc:Ignorable="d">
|
mc:Ignorable="d">
|
||||||
<Grid Margin="32,16">
|
<!-- Background is a hack to stop weirdness -->
|
||||||
<Grid.RowDefinitions>
|
<Grid Background="#01ffffff">
|
||||||
<RowDefinition Height="*" />
|
<Grid Margin="32,16">
|
||||||
<RowDefinition Height="Auto" />
|
<Grid.RowDefinitions>
|
||||||
<RowDefinition Height="Auto" />
|
<RowDefinition Height="*" />
|
||||||
<RowDefinition Height="Auto" />
|
<RowDefinition Height="Auto" />
|
||||||
</Grid.RowDefinitions>
|
<RowDefinition Height="Auto" />
|
||||||
|
<RowDefinition Height="Auto" />
|
||||||
|
</Grid.RowDefinitions>
|
||||||
|
|
||||||
<Image
|
<Image
|
||||||
Grid.Row="0"
|
Grid.Row="0"
|
||||||
Width="80"
|
Width="80"
|
||||||
Height="80"
|
Height="80"
|
||||||
Margin="0,30,0,0"
|
Margin="0,30,0,0"
|
||||||
HorizontalAlignment="Center"
|
HorizontalAlignment="Center"
|
||||||
VerticalAlignment="Top"
|
VerticalAlignment="Top"
|
||||||
RenderOptions.BitmapScalingMode="HighQuality"
|
RenderOptions.BitmapScalingMode="HighQuality"
|
||||||
Source="{Binding Icon, Mode=OneWay}" />
|
Source="{Binding Icon, Mode=OneWay}" />
|
||||||
|
|
||||||
<TextBlock
|
<TextBlock
|
||||||
Grid.Row="1"
|
Grid.Row="1"
|
||||||
Margin="0,0,0,8"
|
Margin="0,0,0,8"
|
||||||
HorizontalAlignment="Center"
|
HorizontalAlignment="Center"
|
||||||
FontSize="18"
|
FontSize="18"
|
||||||
Foreground="{DynamicResource TextFillColorPrimaryBrush}"
|
Foreground="{DynamicResource TextFillColorPrimaryBrush}"
|
||||||
Text="{Binding Message, Mode=OneWay}" />
|
Text="{Binding Message, Mode=OneWay}" />
|
||||||
|
|
||||||
<ProgressBar
|
<ProgressBar
|
||||||
Grid.Row="2"
|
Grid.Row="2"
|
||||||
Margin="0,0,0,16"
|
Margin="0,0,0,16"
|
||||||
IsIndeterminate="{Binding ProgressIndeterminate, Mode=OneWay}"
|
IsIndeterminate="{Binding ProgressIndeterminate, Mode=OneWay}"
|
||||||
Maximum="{Binding ProgressMaximum, Mode=OneWay}"
|
Maximum="{Binding ProgressMaximum, Mode=OneWay}"
|
||||||
Value="{Binding ProgressValue, Mode=OneWay}" />
|
Value="{Binding ProgressValue, Mode=OneWay}" />
|
||||||
|
|
||||||
<Button
|
<Button
|
||||||
Grid.Row="3"
|
Grid.Row="3"
|
||||||
Width="120"
|
Width="120"
|
||||||
Padding="4"
|
Padding="4"
|
||||||
HorizontalAlignment="Center"
|
HorizontalAlignment="Center"
|
||||||
Command="{Binding CancelInstallCommand}"
|
Command="{Binding CancelInstallCommand}"
|
||||||
Content="{x:Static resources:Strings.Common_Cancel}"
|
Content="{x:Static resources:Strings.Common_Cancel}"
|
||||||
FontSize="14"
|
FontSize="14"
|
||||||
IsEnabled="{Binding CancelEnabled, Mode=OneWay}" />
|
IsEnabled="{Binding CancelEnabled, Mode=OneWay}" />
|
||||||
|
</Grid>
|
||||||
</Grid>
|
</Grid>
|
||||||
</base:WpfUiWindow>
|
</base:WpfUiWindow>
|
||||||
|
Loading…
Reference in New Issue
Block a user