mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2026-04-26 08:32:54 +00:00
use the margin to force it to show bottom center
(boy i sure do hope this doesnt have any adverse effects on anything but my specific resolution & scaling configuration!)
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
using Avalonia;
|
||||
using Avalonia.Controls.Notifications;
|
||||
using Ryujinx.Ava.Common.Locale;
|
||||
using Ryujinx.Ava.Systems.Configuration;
|
||||
@@ -17,8 +18,13 @@ namespace Ryujinx.Ava.UI.SetupWizard
|
||||
|
||||
public async Task Start()
|
||||
{
|
||||
// I wanted to do bottom center but that...literally just shows top center? Okay.
|
||||
Notification = new NotificationHelper(wizardWindow, NotificationPosition.TopCenter);
|
||||
Notification = new NotificationHelper(
|
||||
wizardWindow,
|
||||
// I wanted to do bottom center but that...literally just shows top center? Okay.
|
||||
NotificationPosition.TopCenter,
|
||||
margin: new Thickness(0, wizardWindow.Height - 120, 0, 0)
|
||||
);
|
||||
|
||||
RyujinxSetupWizardWindow.IsOpen = true;
|
||||
Start:
|
||||
await FirstPage()
|
||||
@@ -44,8 +50,6 @@ namespace Ryujinx.Ava.UI.SetupWizard
|
||||
Notification = null;
|
||||
wizardWindow.Close();
|
||||
RyujinxSetupWizardWindow.IsOpen = false;
|
||||
|
||||
|
||||
}
|
||||
|
||||
private async ValueTask<bool> SetupKeys()
|
||||
|
||||
Reference in New Issue
Block a user