diff --git a/Moder.Core/App.axaml b/Moder.Core/App.axaml index dbad804..8af1637 100644 --- a/Moder.Core/App.axaml +++ b/Moder.Core/App.axaml @@ -1,10 +1,9 @@ + RequestedThemeVariant="Default"> @@ -12,14 +11,14 @@ - + - + Segoe Fluent Icons - + diff --git a/Moder.Core/App.axaml.cs b/Moder.Core/App.axaml.cs index d71a1bf..3f706cd 100644 --- a/Moder.Core/App.axaml.cs +++ b/Moder.Core/App.axaml.cs @@ -32,6 +32,7 @@ namespace Moder.Core; public class App : Application { public const string AppVersion = "0.1.0-alpha"; + public const string CodeRepositoryUrl = "https://github.com/ModerCore/Moder"; public static new App Current => (App)Application.Current!; public static IServiceProvider Services => Current._serviceProvider; public static string AppConfigFolder { get; } = @@ -131,6 +132,7 @@ private static HostApplicationBuilder CreateHostBuilder() builder.Services.AddViewSingleton(); builder.Services.AddViewSingleton(); builder.Services.AddViewTransient(); + builder.Services.AddViewTransient(); builder.Services.AddViewSingleton(); builder.Services.AddTransient(); diff --git a/Moder.Core/Behaviors/AutoCompleteZeroMinimumPrefixLengthDropdownBehaviour.cs b/Moder.Core/Behaviors/AutoCompleteZeroMinimumPrefixLengthDropdownBehaviour.cs index 71ed4f1..d83d82d 100644 --- a/Moder.Core/Behaviors/AutoCompleteZeroMinimumPrefixLengthDropdownBehaviour.cs +++ b/Moder.Core/Behaviors/AutoCompleteZeroMinimumPrefixLengthDropdownBehaviour.cs @@ -93,7 +93,7 @@ private void ShowDropdown() ipc.SetValue(AssociatedObject, true); } - AssociatedObject.SetCurrentValue(AutoCompleteBox.IsDropDownOpenProperty, true); + AssociatedObject.SetCurrentValue(AutoCompleteBox.IsDropDownOpenProperty, true); } } } diff --git a/Moder.Core/Controls/Controls.axaml b/Moder.Core/Controls/Controls.axaml new file mode 100644 index 0000000..3647941 --- /dev/null +++ b/Moder.Core/Controls/Controls.axaml @@ -0,0 +1,3 @@ + + + diff --git a/Moder.Core/Controls/DirectorySelector.axaml b/Moder.Core/Controls/DirectorySelector.axaml index 02311eb..604eb84 100644 --- a/Moder.Core/Controls/DirectorySelector.axaml +++ b/Moder.Core/Controls/DirectorySelector.axaml @@ -1,7 +1,7 @@ + xmlns:controls="clr-namespace:Moder.Core.Controls" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"> @@ -11,19 +11,20 @@ + VerticalAlignment="Center"> + MaxHeight="55" + Text="{TemplateBinding DirectoryPath, + Mode=TwoWay}" + Width="280" />