app: give the app one icon for the executable, windows and tray
Windows showed the default executable icon, and the tray drew a plain "T" at run time. A usage gauge in the provider colours now serves all three (D8). tools/icon/make_icon.py renders it with Pillow, a development-only dependency, into a multi-size ICO for Windows and a PNG for X11. Its test checks every size and that a fresh run reproduces the committed files. Refs #17
This commit is contained in:
@@ -29,6 +29,7 @@ public sealed class PanelWindow : Window
|
||||
{
|
||||
this.model = model;
|
||||
this.clock = clock ?? TimeProvider.System;
|
||||
Icon = AppIcon.Load();
|
||||
Title = $"FinalToken {typeof(Program).Assembly.GetName().Version?.ToString(3)}";
|
||||
Width = 1280; Height = 900; MinWidth = 960; MinHeight = 500; Ui.Theme(this);
|
||||
var brand = new StackPanel { Orientation = Orientation.Horizontal, Spacing = 8, VerticalAlignment = VerticalAlignment.Center };
|
||||
|
||||
Reference in New Issue
Block a user