From 6f22b5ba1c237139ecd7990acfecbd4563b87dd0 Mon Sep 17 00:00:00 2001 From: Guerra24 Date: Sun, 3 Apr 2022 18:34:33 -0600 Subject: [PATCH] Avalonia: re template some controls and fix visual issues --- .../LRReader.Avalonia.Desktop.csproj | 1 + .../PublishProfiles/linux-x64.pubxml | 8 +- .../PublishProfiles/macos-x64.pubxml | 8 +- .../Properties/PublishProfiles/win-x64.pubxml | 10 +- LRReader.Avalonia/LRReader.Avalonia.csproj | 2 +- .../Resources/AvaloniaTemplates.axaml | 321 +++++++++++++++++- .../Resources/ThemeDictionary.axaml | 2 +- .../Views/Main/HostTabPage.axaml | 7 +- 8 files changed, 340 insertions(+), 19 deletions(-) diff --git a/LRReader.Avalonia.Desktop/LRReader.Avalonia.Desktop.csproj b/LRReader.Avalonia.Desktop/LRReader.Avalonia.Desktop.csproj index 66f71f7a..b6bff62b 100644 --- a/LRReader.Avalonia.Desktop/LRReader.Avalonia.Desktop.csproj +++ b/LRReader.Avalonia.Desktop/LRReader.Avalonia.Desktop.csproj @@ -5,6 +5,7 @@ enable logo.ico true + copyused diff --git a/LRReader.Avalonia.Desktop/Properties/PublishProfiles/linux-x64.pubxml b/LRReader.Avalonia.Desktop/Properties/PublishProfiles/linux-x64.pubxml index f6eec373..f4405d05 100644 --- a/LRReader.Avalonia.Desktop/Properties/PublishProfiles/linux-x64.pubxml +++ b/LRReader.Avalonia.Desktop/Properties/PublishProfiles/linux-x64.pubxml @@ -1,8 +1,8 @@  - + Release Any CPU @@ -11,7 +11,7 @@ https://go.microsoft.com/fwlink/?LinkID=208121. net6.0 linux-x64 true - True - False + true + true \ No newline at end of file diff --git a/LRReader.Avalonia.Desktop/Properties/PublishProfiles/macos-x64.pubxml b/LRReader.Avalonia.Desktop/Properties/PublishProfiles/macos-x64.pubxml index 15aaa02d..5fba4058 100644 --- a/LRReader.Avalonia.Desktop/Properties/PublishProfiles/macos-x64.pubxml +++ b/LRReader.Avalonia.Desktop/Properties/PublishProfiles/macos-x64.pubxml @@ -1,8 +1,8 @@  - + Release Any CPU @@ -11,7 +11,7 @@ https://go.microsoft.com/fwlink/?LinkID=208121. net6.0 osx-x64 true - True - False + true + true \ No newline at end of file diff --git a/LRReader.Avalonia.Desktop/Properties/PublishProfiles/win-x64.pubxml b/LRReader.Avalonia.Desktop/Properties/PublishProfiles/win-x64.pubxml index 02b78372..c57fbc4a 100644 --- a/LRReader.Avalonia.Desktop/Properties/PublishProfiles/win-x64.pubxml +++ b/LRReader.Avalonia.Desktop/Properties/PublishProfiles/win-x64.pubxml @@ -1,8 +1,8 @@  - + Release Any CPU @@ -11,8 +11,8 @@ https://go.microsoft.com/fwlink/?LinkID=208121. net6.0 win-x64 true - True - False - False + true + false + true \ No newline at end of file diff --git a/LRReader.Avalonia/LRReader.Avalonia.csproj b/LRReader.Avalonia/LRReader.Avalonia.csproj index 9e92017e..07b6c6aa 100644 --- a/LRReader.Avalonia/LRReader.Avalonia.csproj +++ b/LRReader.Avalonia/LRReader.Avalonia.csproj @@ -8,7 +8,7 @@ - + diff --git a/LRReader.Avalonia/Resources/AvaloniaTemplates.axaml b/LRReader.Avalonia/Resources/AvaloniaTemplates.axaml index 0f5f8d62..0e1c59d2 100644 --- a/LRReader.Avalonia/Resources/AvaloniaTemplates.axaml +++ b/LRReader.Avalonia/Resources/AvaloniaTemplates.axaml @@ -1,5 +1,9 @@  + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + xmlns:ui="using:FluentAvalonia.UI.Controls" + xmlns:media="using:FluentAvalonia.UI.Media" + xmlns:aura="using:Aura.UI.Controls" + xmlns:sty="using:FluentAvalonia.Styling"> + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/LRReader.Avalonia/Resources/ThemeDictionary.axaml b/LRReader.Avalonia/Resources/ThemeDictionary.axaml index 56b3f5e7..57976537 100644 --- a/LRReader.Avalonia/Resources/ThemeDictionary.axaml +++ b/LRReader.Avalonia/Resources/ThemeDictionary.axaml @@ -1,5 +1,5 @@ - +