Преглед на файлове

fixed view size on desktop

Veloe преди 1 година
родител
ревизия
c2d5422136

+ 2 - 2
VeloeAvaloniaKemonoPartyApp/VeloeAvaloniaKemonoPartyApp.Desktop/VeloeAvaloniaKemonoPartyApp.Desktop.csproj

@@ -10,8 +10,8 @@
 
   <PropertyGroup>
     <ApplicationManifest>app.manifest</ApplicationManifest>
-    <AssemblyVersion>1.0.0.59</AssemblyVersion>
-    <FileVersion>1.0.0.59</FileVersion>
+    <AssemblyVersion>1.0.0.87</AssemblyVersion>
+    <FileVersion>1.0.0.87</FileVersion>
   </PropertyGroup>
 
   <ItemGroup>

+ 2 - 2
VeloeAvaloniaKemonoPartyApp/VeloeAvaloniaKemonoPartyApp/VeloeAvaloniaKemonoPartyApp.csproj

@@ -4,8 +4,8 @@
     <Nullable>enable</Nullable>
     <LangVersion>latest</LangVersion>
     <AvaloniaUseCompiledBindingsByDefault>true</AvaloniaUseCompiledBindingsByDefault>
-    <AssemblyVersion>1.0.0.196</AssemblyVersion>
-    <FileVersion>1.0.0.196</FileVersion>
+    <AssemblyVersion>1.0.0.227</AssemblyVersion>
+    <FileVersion>1.0.0.227</FileVersion>
   </PropertyGroup>
 
   

+ 1 - 0
VeloeAvaloniaKemonoPartyApp/VeloeAvaloniaKemonoPartyApp/Views/CreatorPostsView.axaml

@@ -6,6 +6,7 @@
 			 xmlns:vm="clr-namespace:VeloeAvaloniaKemonoPartyApp.ViewModels"
              mc:Ignorable="d" d:DesignWidth="480" d:DesignHeight="854"
              x:Class="VeloeAvaloniaKemonoPartyApp.Views.CreatorPostsView"
+			 MaxWidth="{Binding $self.Bounds.Height}"
 			 x:DataType="vm:CreatorPostsViewModel">
 	<Design.DataContext>
 		<!-- This only sets the DataContext for the previewer in an IDE,

Файловите разлики са ограничени, защото са твърде много
+ 1 - 1
VeloeAvaloniaKemonoPartyApp/VeloeAvaloniaKemonoPartyApp/Views/PostImageView.axaml


+ 1 - 1
VeloeAvaloniaKemonoPartyApp/VeloeAvaloniaKemonoPartyApp/Windows/CreatorPostsWindow.axaml

@@ -6,5 +6,5 @@
         mc:Ignorable="d" d:DesignWidth="480" d:DesignHeight="854" Width="480" Height="854"
         x:Class="VeloeAvaloniaKemonoPartyApp.Windows.CreatorPostsWindow"
         Title="CreatorPostsWindow">
-	<views:CreatorPostsView/>
+	<views:CreatorPostsView Name="PostsView" HorizontalAlignment="Center"/>
 </Window>

+ 0 - 2
VeloeAvaloniaKemonoPartyApp/VeloeAvaloniaKemonoPartyApp/Windows/CreatorPostsWindow.axaml.cs

@@ -1,6 +1,4 @@
-using Avalonia;
 using Avalonia.Controls;
-using Avalonia.Markup.Xaml;
 
 namespace VeloeAvaloniaKemonoPartyApp.Windows;
 

Някои файлове не бяха показани, защото твърде много файлове са промени