mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-12-15 10:36:58 +00:00
reorganize RyujinxSetupWizard
additionally, the CreateHelpContent method is now no longer locked to returning an Avalonia `Control`. the WithHelpContent method also has logic to handle it returning a string directly, and will wrap it in a textblock with h1 style and size 20 font. otherwise it's up to the ContentPresenter for the help content to choose how to display it if it's none of the above mentioned types.
This commit is contained in:
parent
18fe8d4eff
commit
51692a94d9
8 changed files with 152 additions and 118 deletions
|
|
@ -26,7 +26,7 @@ namespace Ryujinx.Ava.UI.SetupWizard.Pages
|
|||
? Result.Fail
|
||||
: InstallKeys(KeysFolderPath);
|
||||
|
||||
public override Control CreateHelpContent()
|
||||
public override object CreateHelpContent()
|
||||
{
|
||||
Grid grid = new()
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue