diff --git a/UserInterface/Views/MainWindow.axaml b/UserInterface/Views/MainWindow.axaml index 1da7f05..61fc4ba 100644 --- a/UserInterface/Views/MainWindow.axaml +++ b/UserInterface/Views/MainWindow.axaml @@ -4,23 +4,23 @@ xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:views="clr-namespace:UserInterface.Views" - mc:Ignorable="d" d:DesignWidth="400" d:DesignHeight="450" + mc:Ignorable="d" d:DesignWidth="700" d:DesignHeight="500" x:Class="UserInterface.Views.MainWindow" Icon="/Assets/hass-workstation-logo.ico" - SizeToContent="WidthAndHeight" + MinWidth="700" + MinHeight="500" Title="Settings"> - - - - - - - - - - - - + + + - + + + + + + + + + \ No newline at end of file diff --git a/UserInterface/Views/MainWindow.axaml.cs b/UserInterface/Views/MainWindow.axaml.cs index 3d1beba..dd287a5 100644 --- a/UserInterface/Views/MainWindow.axaml.cs +++ b/UserInterface/Views/MainWindow.axaml.cs @@ -9,9 +9,9 @@ namespace UserInterface.Views { public MainWindow() { - InitializeComponent(); - - WindowsTrayIcon icon = new WindowsTrayIcon(); + InitializeComponent(); + + _ = new WindowsTrayIcon(); } private void InitializeComponent() @@ -19,4 +19,4 @@ namespace UserInterface.Views AvaloniaXamlLoader.Load(this); } } -} +} \ No newline at end of file