Closed chaoyebugao closed 1 year ago
Hi, the MauiReactorTabbedDemo.zip is empty. Regarding the last question if you upgrade to latest version of MauiReactor you'll find the correct name of the method that is : SetWindowsSpecificAssetsDirectory (previous one had a typo)
Hi, the MauiReactorTabbedDemo.zip is empty. Regarding the last question if you upgrade to latest version of MauiReactor you'll find the correct name of the method that is : SetWindowsSpecificAssetsDirectory (previous one had a typo)
I added a repo git here: https://github.com/chaoyebugao/MauiReactorTabbedDemo.git
I've downloaded and opened the zip file. It's not empty, huh, weird~
Ok, yes, I see the project now in the zip (don't ask me why :) ).
The issue is that you have to set the title of the child pages to see them (it's a MAUI thing I guess):
return new TabbedPage()
{
//new LoginPage(),
//new RegisterPage(),
new ContentPage("Page1")
{
new Label("Label 1"),
},
new ContentPage("Page 2")
{
new Label("Label 2"),
},
};
said that please note that Microsoft doesn't recommend putting a tabbed page inside a navigation page:
it's not recommended but it works.
Another possible solution would be creating your TabbedView as I did here: https://github.com/adospace/reactorui-maui/blob/main/samples/MauiReactor.TestApp/Pages/LandscapePage.cs
PS: Always update to the latest version of MauiReactor
Huh~ Thanks for the tip. I've updated nugets and It worked! Thanks a lot~
Problem:
I want a TabbedPage with login and register tabs. But nothing show up In
Windows Machine
when I navigated to it. I don't know what's wrong.Steps to reproduce:
MauiReactor base app
LoginTabbedPage
add navigate code to itWindows Machine
and click MainPage's button, navigate to itRelative Codes:
Solution Codes:
MauiReactorTabbedDemo.zip
Versions:
windows 11 - 22H2 Visual Studio 2022 - 17.6.2
BTW:
There is some wrong generated code with
MauiReactor base app
template tool: