feat(ui): use ClaudeTask icon for window and taskbar
Expose the .ico as an Avalonia resource, set it on MainWindow, and swap the custom SystemDecorations=None for BorderOnly so the icon appears on the taskbar and window can be resized normally.
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 317 B After Width: | Height: | Size: 44 KiB |
@@ -22,6 +22,7 @@
|
|||||||
<AvaloniaResource Include="Assets/Fonts/*.ttf" />
|
<AvaloniaResource Include="Assets/Fonts/*.ttf" />
|
||||||
<AvaloniaResource Include="Assets/Fonts/OFL-InterTight.txt" />
|
<AvaloniaResource Include="Assets/Fonts/OFL-InterTight.txt" />
|
||||||
<AvaloniaResource Include="Assets/Fonts/OFL-JetBrainsMono.txt" />
|
<AvaloniaResource Include="Assets/Fonts/OFL-JetBrainsMono.txt" />
|
||||||
|
<AvaloniaResource Include="..\ClaudeDo.App\Assets\ClaudeTask.ico" Link="Assets\ClaudeTask.ico" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
</Project>
|
</Project>
|
||||||
|
|||||||
@@ -7,7 +7,9 @@
|
|||||||
Title="ClaudeDo"
|
Title="ClaudeDo"
|
||||||
Width="1280" Height="820" MinWidth="780" MinHeight="600"
|
Width="1280" Height="820" MinWidth="780" MinHeight="600"
|
||||||
Background="{DynamicResource VoidBrush}"
|
Background="{DynamicResource VoidBrush}"
|
||||||
SystemDecorations="None"
|
Icon="avares://ClaudeDo.Ui/Assets/ClaudeTask.ico"
|
||||||
|
CanResize="True"
|
||||||
|
SystemDecorations="BorderOnly"
|
||||||
ExtendClientAreaToDecorationsHint="True"
|
ExtendClientAreaToDecorationsHint="True"
|
||||||
ExtendClientAreaTitleBarHeightHint="-1">
|
ExtendClientAreaTitleBarHeightHint="-1">
|
||||||
<Window.KeyBindings>
|
<Window.KeyBindings>
|
||||||
@@ -26,11 +28,11 @@
|
|||||||
<!-- Left: brand block -->
|
<!-- Left: brand block -->
|
||||||
<StackPanel Grid.Column="0" Orientation="Horizontal" Spacing="8"
|
<StackPanel Grid.Column="0" Orientation="Horizontal" Spacing="8"
|
||||||
VerticalAlignment="Center" Margin="14,0,0,0">
|
VerticalAlignment="Center" Margin="14,0,0,0">
|
||||||
<!-- Green checkbox glyph -->
|
<!-- App icon (matches taskbar) -->
|
||||||
<PathIcon Classes="title-brand-icon"
|
<Image Source="avares://ClaudeDo.Ui/Assets/ClaudeTask.ico"
|
||||||
Data="{StaticResource Icon.BrandCheck}"
|
Width="16" Height="16"
|
||||||
Width="14" Height="14"
|
VerticalAlignment="Center"
|
||||||
Foreground="{DynamicResource MossBrush}" />
|
RenderOptions.BitmapInterpolationMode="HighQuality"/>
|
||||||
<!-- CLAUDEDO label -->
|
<!-- CLAUDEDO label -->
|
||||||
<TextBlock Classes="title-brand-name"
|
<TextBlock Classes="title-brand-name"
|
||||||
Text="CLAUDEDO"
|
Text="CLAUDEDO"
|
||||||
|
|||||||
Reference in New Issue
Block a user