mirror of
https://github.com/ZuneDev/ZuneModdingHelper.git
synced 2026-07-27 13:12:21 -07:00
Minor dialog improvements
This commit is contained in:
@@ -13,8 +13,8 @@
|
|||||||
</d:UserControl.DataContext>
|
</d:UserControl.DataContext>
|
||||||
|
|
||||||
<Border Background="#AFFFFFFF">
|
<Border Background="#AFFFFFFF">
|
||||||
<Border MaxHeight="400" MaxWidth="528" Padding="32" SnapsToDevicePixels="True"
|
<Border MaxHeight="400" MaxWidth="528"
|
||||||
VerticalAlignment="Center">
|
Padding="32" VerticalAlignment="Center">
|
||||||
<Border.Background>
|
<Border.Background>
|
||||||
<LinearGradientBrush EndPoint="0,1" StartPoint="0,0">
|
<LinearGradientBrush EndPoint="0,1" StartPoint="0,0">
|
||||||
<GradientStop Color="#FFFFFF" Offset="0"/>
|
<GradientStop Color="#FFFFFF" Offset="0"/>
|
||||||
@@ -32,11 +32,11 @@
|
|||||||
<Rectangle Height="5" Width="109" Margin="0,-16,0,0"
|
<Rectangle Height="5" Width="109" Margin="0,-16,0,0"
|
||||||
VerticalAlignment="Top" HorizontalAlignment="Left"
|
VerticalAlignment="Top" HorizontalAlignment="Left"
|
||||||
Fill="{StaticResource ZuneHorizontalGradientAlt}"/>
|
Fill="{StaticResource ZuneHorizontalGradientAlt}"/>
|
||||||
<TextBlock Text="{Binding Title}" d:Text="WINDOWS LIVE ID" FontSize="28" Margin="0,-10,0,0"
|
<TextBlock Text="{Binding Title}" d:Text="WINDOWS LIVE ID" FontSize="28" Margin="0,-10,0,12"
|
||||||
Foreground="{StaticResource ZuneMediumTextBrush}"/>
|
Foreground="{StaticResource ZuneMediumTextBrush}"/>
|
||||||
|
|
||||||
<StackPanel Grid.Row="1">
|
<StackPanel Grid.Row="1">
|
||||||
<TextBlock Text="{Binding Description}" TextWrapping="Wrap" Margin="0,0,0,12"
|
<TextBlock Text="{Binding Description}" FontSize="14" TextWrapping="Wrap" Margin="0,0,0,12"
|
||||||
Foreground="{StaticResource ZuneLightTextBrush}"/>
|
Foreground="{StaticResource ZuneLightTextBrush}"/>
|
||||||
<ContentControl x:Name="InnerPresenter" />
|
<ContentControl x:Name="InnerPresenter" />
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
|
|||||||
@@ -36,7 +36,11 @@ namespace ZuneModdingHelper.Controls
|
|||||||
|
|
||||||
if (vm is ProgressDialogViewModel)
|
if (vm is ProgressDialogViewModel)
|
||||||
{
|
{
|
||||||
var progressBar = new ProgressBar();
|
var progressBar = new ProgressBar
|
||||||
|
{
|
||||||
|
HorizontalAlignment = HorizontalAlignment.Stretch,
|
||||||
|
Width = double.NaN,
|
||||||
|
};
|
||||||
|
|
||||||
Binding progValueBinding = new()
|
Binding progValueBinding = new()
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ namespace ZuneModdingHelper.Pages
|
|||||||
|
|
||||||
WeakReferenceMessenger.Default.Send(new ShowDialogMessage(new ProgressDialogViewModel
|
WeakReferenceMessenger.Default.Send(new ShowDialogMessage(new ProgressDialogViewModel
|
||||||
{
|
{
|
||||||
Title = "RESETTING MOD",
|
Title = "RESET MOD",
|
||||||
IsIndeterminate = true,
|
IsIndeterminate = true,
|
||||||
Description = $"Preparing to reset '{mod.Title}'...",
|
Description = $"Preparing to reset '{mod.Title}'...",
|
||||||
}));
|
}));
|
||||||
|
|||||||
Reference in New Issue
Block a user