mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
82 lines
3.2 KiB
XML
82 lines
3.2 KiB
XML
<Window
|
|
x:Class="Flow.Launcher.ReportWindow"
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
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"
|
|
Title="{DynamicResource reportWindow_flowlauncher_got_an_error}"
|
|
Width="600"
|
|
Height="455"
|
|
d:DesignHeight="300"
|
|
d:DesignWidth="600"
|
|
x:ClassModifier="internal"
|
|
Background="{DynamicResource PopuBGColor}"
|
|
Foreground="{DynamicResource PopupTextColor}"
|
|
Icon="/Images/app_error.png"
|
|
ResizeMode="NoResize"
|
|
Topmost="True"
|
|
WindowStartupLocation="CenterScreen"
|
|
mc:Ignorable="d">
|
|
<WindowChrome.WindowChrome>
|
|
<WindowChrome CaptionHeight="32" ResizeBorderThickness="{x:Static SystemParameters.WindowResizeBorderThickness}" />
|
|
</WindowChrome.WindowChrome>
|
|
|
|
<Grid>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="Auto" />
|
|
<RowDefinition Height="*" />
|
|
</Grid.RowDefinitions>
|
|
<Grid>
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="Auto" />
|
|
<ColumnDefinition Width="*" />
|
|
<ColumnDefinition Width="Auto" />
|
|
</Grid.ColumnDefinitions>
|
|
<Image
|
|
Grid.Column="0"
|
|
Width="16"
|
|
Height="16"
|
|
Margin="10 4 4 4"
|
|
RenderOptions.BitmapScalingMode="HighQuality"
|
|
Source="/Images/app_error.png" />
|
|
<TextBlock
|
|
Grid.Column="1"
|
|
Margin="4 0 0 0"
|
|
VerticalAlignment="Center"
|
|
FontSize="12"
|
|
Foreground="{DynamicResource Color05B}"
|
|
Text="{DynamicResource reportWindow_flowlauncher_got_an_error}" />
|
|
<Button
|
|
Grid.Column="2"
|
|
Click="BtnCancel_OnClick"
|
|
Style="{StaticResource TitleBarCloseButtonStyle}">
|
|
<Path
|
|
Width="46"
|
|
Height="32"
|
|
Data="M 18,11 27,20 M 18,20 27,11"
|
|
Stroke="{Binding Path=Foreground, RelativeSource={RelativeSource AncestorType={x:Type Button}}}"
|
|
StrokeThickness="1">
|
|
<Path.Style>
|
|
<Style TargetType="Path">
|
|
<Style.Triggers>
|
|
<DataTrigger Binding="{Binding Path=IsActive, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type Window}}}" Value="False">
|
|
<Setter Property="Opacity" Value="0.5" />
|
|
</DataTrigger>
|
|
</Style.Triggers>
|
|
</Style>
|
|
</Path.Style>
|
|
</Path>
|
|
</Button>
|
|
</Grid>
|
|
<RichTextBox
|
|
x:Name="ErrorTextbox"
|
|
Grid.Row="1"
|
|
Margin="10"
|
|
BorderThickness="0"
|
|
FontSize="14"
|
|
HorizontalScrollBarVisibility="Auto"
|
|
IsDocumentEnabled="True"
|
|
VerticalScrollBarVisibility="Auto" />
|
|
</Grid>
|
|
|
|
</Window>
|