Got Avalonia.Ui working.

This commit is contained in:
2026-01-31 13:24:14 +01:00
parent d86d0d2f32
commit e4dd1b6150
33 changed files with 396 additions and 283 deletions

View File

@@ -5,7 +5,7 @@ using Avalonia.Controls;
using Avalonia.iOS;
using Avalonia.Media;
namespace gamenight.ui.iOS;
namespace Gamenight.Ui.iOS;
// The UIApplicationDelegate for the application. This class is responsible for launching the
// User Interface of the application, as well as listening (and optionally responding) to

View File

@@ -11,6 +11,6 @@
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\gamenight.ui\gamenight.ui.csproj" />
<ProjectReference Include="..\Gamenight.Ui\Gamenight.Ui.csproj" />
</ItemGroup>
</Project>

View File

@@ -3,9 +3,9 @@
<plist version="1.0">
<dict>
<key>CFBundleDisplayName</key>
<string>gamenight.ui</string>
<string>Gamenight.Ui</string>
<key>CFBundleIdentifier</key>
<string>companyName.gamenight.ui</string>
<string>companyName.Gamenight.Ui</string>
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<key>CFBundleVersion</key>

View File

@@ -1,6 +1,6 @@
using UIKit;
namespace gamenight.ui.iOS;
namespace Gamenight.Ui.iOS;
public class Application
{

View File

@@ -18,7 +18,7 @@
<color key="textColor" cocoaTouchSystemColor="darkTextColor" />
<nil key="highlightedColor" />
</label>
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="gamenight.ui" textAlignment="center" lineBreakMode="middleTruncation" baselineAdjustment="alignBaselines"
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Gamenight.Ui" textAlignment="center" lineBreakMode="middleTruncation" baselineAdjustment="alignBaselines"
minimumFontSize="18" translatesAutoresizingMaskIntoConstraints="NO" id="kId-c2-rCX">
<rect key="frame" x="20" y="140" width="441" height="43" />
<fontDescription key="fontDescription" type="boldSystem" pointSize="36" />