-
Notifications
You must be signed in to change notification settings - Fork 130
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Responsive UI Sample(Desktop,Mobile) #53
Comments
This request comes on the right time. Today 11.0 dropped, which will make this possible. Do you whish to work on it? Otherwise I'll leave it open to when I find the time to pick this up. |
Sure, I would love to. But I am kind of new to the Avalonia UI and going through the documentation for now.
Or we can do something below to load different control based on Platform or Idom
Can you just give me the alternative property name of the above approaches in Avalonia I will figure out the rest. Still figuring out these things Hopefully I would be able to do this in couple of weeks for sure. I know I can achieve those through code behind for sure but that would not be for everyone. Also, Congratulations for v11 Release you guys doing a great job. |
I have not played around with it on my own yet as my apps are all on Desktop only. I guess your best bet is to explore the samples in the source here: https://github.com/AvaloniaUI/Avalonia/blob/master/samples/ControlCatalog/Pages/PlatformInfoPage.xaml the RP that add this: AvaloniaUI/Avalonia#7812 |
Topics to cover
Please add sample for Responsive UI for Desktop and Mobile size devices.
Like changing font, height, width of controls as per platform it is running on through Xaml.
Showing fixed side drawer on Desktop while having sliding drawer for Android and iOS.
Changing Grid row and column count as per Platform Desktop, Mobile etc.
Or Load different UserControl based on Platform through Xaml
Ideas for a sample
The text was updated successfully, but these errors were encountered: