mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-12-26 21:17:20 -08:00
31 lines
1.5 KiB
XML
31 lines
1.5 KiB
XML
<UserControl xmlns="https://github.com/avaloniaui"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
xmlns:vm="using:SourceGit.ViewModels"
|
|
xmlns:c="using:SourceGit.Converters"
|
|
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
|
|
x:Class="SourceGit.Views.PopupRunningStatus"
|
|
x:Name="ThisControl">
|
|
<StackPanel Orientation="Vertical">
|
|
<Rectangle Height="1" HorizontalAlignment="Stretch" Fill="{DynamicResource Brush.Border1}" />
|
|
|
|
<StackPanel Orientation="Horizontal" Margin="0,8">
|
|
<ContentPresenter x:Name="Icon" Width="12" Height="12"/>
|
|
<TextBlock Margin="6,0,0,0" FontSize="14" FontWeight="Bold" Text="{DynamicResource Text.Running}"/>
|
|
</StackPanel>
|
|
|
|
<TextBlock x:Name="TxtDesc"
|
|
HorizontalAlignment="Stretch"
|
|
TextWrapping="Wrap"
|
|
FontSize="{Binding Source={x:Static vm:Preference.Instance}, Path=DefaultFontSize, Converter={x:Static c:DoubleConverters.Decrease}}"
|
|
FontStyle="Italic"
|
|
Text="{Binding #ThisControl.Description}"/>
|
|
|
|
<ProgressBar x:Name="ProgressBar"
|
|
Margin="0,8,0,0"
|
|
HorizontalAlignment="Stretch"
|
|
Background="{DynamicResource Brush.FG2}" Foreground="{DynamicResource Brush.Accent}"
|
|
Minimum="0" Maximum="100"/>
|
|
</StackPanel>
|
|
</UserControl>
|