mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-06 19:26:39 +02:00
[PTRun]Fluent UX and switch to WpfUI (#28538)
* New design
* Updating icons
* Adding keywords
* Only show plugins when search query is empty
* Update App.xaml
* Update App.xaml
* Filter plugins
* Fix image name
* refresh plugins overview
* fix context menu icons in win10
* Remove unused animations
* Resolving crashing
* Fix focus visual and a11y
* Remove unused styles
* Revert "Remove unused styles"
This reverts commit 65f29ae6ed.
* Fix value generator light vs dark icon
* Fix tab characters
* Fix CI
* Update SettingsReader.cs
* Adding common OS check helper
* Update MainWindow.xaml.cs
* Fix background
* More tweaks
* XAML styler and updating legacy brushes
* Updates + xaml styling
* Fix CI
* Fix CI2
* fix font family and overview refresh
* Delete shutdown.light-1.png
* Updating icons
* Set DPI
---------
Co-authored-by: Davide Giacometti <davide.giacometti@outlook.it>
This commit is contained in:
@@ -1,72 +1,74 @@
|
||||
<Window x:Class="PowerLauncher.ReportWindow"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:p="clr-namespace:PowerLauncher.Properties"
|
||||
xmlns:ui="http://schemas.modernwpf.com/2019"
|
||||
mc:Ignorable="d"
|
||||
WindowStartupLocation="CenterScreen"
|
||||
Background="{DynamicResource SystemChromeLow}"
|
||||
Topmost="True"
|
||||
ui:WindowHelper.UseModernWindowStyle="True"
|
||||
ResizeMode="NoResize"
|
||||
Width="760"
|
||||
Height="560"
|
||||
Title="{x:Static p:Resources.reportWindow_wox_got_an_error}"
|
||||
d:DesignHeight="300"
|
||||
d:DesignWidth="600"
|
||||
x:ClassModifier="internal">
|
||||
<Window
|
||||
x:Class="PowerLauncher.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"
|
||||
xmlns:p="clr-namespace:PowerLauncher.Properties"
|
||||
Title="{x:Static p:Resources.reportWindow_wox_got_an_error}"
|
||||
Width="760"
|
||||
Height="560"
|
||||
d:DesignHeight="300"
|
||||
d:DesignWidth="600"
|
||||
x:ClassModifier="internal"
|
||||
ResizeMode="NoResize"
|
||||
Topmost="True"
|
||||
WindowStartupLocation="CenterScreen"
|
||||
mc:Ignorable="d">
|
||||
<Grid Margin="12">
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="64"/>
|
||||
<RowDefinition Height="Auto"/>
|
||||
<RowDefinition Height="Auto"/>
|
||||
<RowDefinition Height="*"/>
|
||||
<RowDefinition Height="64" />
|
||||
<RowDefinition Height="Auto" />
|
||||
<RowDefinition Height="Auto" />
|
||||
<RowDefinition Height="*" />
|
||||
</Grid.RowDefinitions>
|
||||
|
||||
<TextBlock Text="{x:Static p:Resources.reportWindow_header}"
|
||||
FontFamily="Segoe UI Light"
|
||||
FontSize="32"
|
||||
Foreground="{DynamicResource ControlTextBrushKey}"/>
|
||||
|
||||
<TextBlock FontSize="14"
|
||||
Grid.Row="1"
|
||||
TextWrapping="Wrap"
|
||||
|
||||
Foreground="{DynamicResource ControlTextBrushKey}">
|
||||
<Run Text="{x:Static p:Resources.reportWindow_file_bug}"/>
|
||||
<Hyperlink x:Name="RepositoryHyperlink"
|
||||
Click="RepositoryHyperlink_Click"
|
||||
FontWeight="SemiBold"
|
||||
NavigateUri="https://aka.ms/powerToysReportBug">
|
||||
<Run Text="{x:Static p:Resources.reportWindow_github_repo}"/>
|
||||
</Hyperlink>
|
||||
<Run Text="{x:Static p:Resources.reportWindow_period}"/>
|
||||
<Run Text="{x:Static p:Resources.reportWindow_upload_log}"/>
|
||||
</TextBlock>
|
||||
|
||||
<TextBox Background="Transparent"
|
||||
BorderThickness="0"
|
||||
Grid.Row="2"
|
||||
x:Name="LogFilePathBox"
|
||||
Margin="-8,16,-8,16"
|
||||
FontSize="14"
|
||||
FontFamily="Consolas"
|
||||
Foreground="{DynamicResource ControlTextBrushKey}"
|
||||
IsReadOnly="True"
|
||||
TextWrapping="Wrap"/>
|
||||
<TextBlock
|
||||
FontFamily="Segoe UI Light"
|
||||
FontSize="32"
|
||||
Foreground="{DynamicResource TextFillColorPrimaryBrush}"
|
||||
Text="{x:Static p:Resources.reportWindow_header}" />
|
||||
|
||||
<RichTextBox x:Name="ErrorTextbox"
|
||||
Grid.Row="3"
|
||||
BorderThickness="1"
|
||||
Background="Transparent"
|
||||
IsDocumentEnabled="True"
|
||||
Foreground="{DynamicResource ControlTextBrushKey}"
|
||||
VerticalAlignment="Stretch"
|
||||
FontFamily="Consolas"
|
||||
VerticalScrollBarVisibility="Auto"
|
||||
HorizontalScrollBarVisibility="Auto"
|
||||
FontSize="14"/>
|
||||
<TextBlock
|
||||
Grid.Row="1"
|
||||
FontSize="14"
|
||||
Foreground="{DynamicResource TextFillColorPrimaryBrush}"
|
||||
TextWrapping="Wrap">
|
||||
<Run Text="{x:Static p:Resources.reportWindow_file_bug}" />
|
||||
<Hyperlink
|
||||
x:Name="RepositoryHyperlink"
|
||||
Click="RepositoryHyperlink_Click"
|
||||
FontWeight="SemiBold"
|
||||
NavigateUri="https://aka.ms/powerToysReportBug">
|
||||
<Run Text="{x:Static p:Resources.reportWindow_github_repo}" />
|
||||
</Hyperlink>
|
||||
<Run Text="{x:Static p:Resources.reportWindow_period}" />
|
||||
<Run Text="{x:Static p:Resources.reportWindow_upload_log}" />
|
||||
</TextBlock>
|
||||
|
||||
<TextBox
|
||||
x:Name="LogFilePathBox"
|
||||
Grid.Row="2"
|
||||
Margin="-8,16,-8,16"
|
||||
Background="Transparent"
|
||||
BorderThickness="0"
|
||||
FontFamily="Consolas"
|
||||
FontSize="14"
|
||||
Foreground="{DynamicResource TextFillColorPrimaryBrush}"
|
||||
IsReadOnly="True"
|
||||
TextWrapping="Wrap" />
|
||||
|
||||
<RichTextBox
|
||||
x:Name="ErrorTextbox"
|
||||
Grid.Row="3"
|
||||
VerticalAlignment="Stretch"
|
||||
Background="Transparent"
|
||||
BorderThickness="1"
|
||||
FontFamily="Consolas"
|
||||
FontSize="14"
|
||||
Foreground="{DynamicResource TextFillColorPrimaryBrush}"
|
||||
HorizontalScrollBarVisibility="Auto"
|
||||
IsDocumentEnabled="True"
|
||||
VerticalScrollBarVisibility="Auto" />
|
||||
</Grid>
|
||||
</Window>
|
||||
|
||||
Reference in New Issue
Block a user