Markup for controlling Views according to a category a screen size fits in #422
Replies: 3 comments 7 replies
-
Hey @carolzbnbr thanks for the proposal, do you have the API spec for you markup implementation? If so, can you add here? |
Beta Was this translation helpful? Give feedback.
-
I took a look into your current implementation, I've some suggestions that we can make during the implementation here. It makes sense to have this kind of feature! @carolzbnbr, right we just use absolute values, do you know if we can use proportional values, like the I'm very excited to have a Brazilian contributor here 😄 ! I approve this feature ✅ |
Beta Was this translation helpful? Give feedback.
-
Closed as per the Community Stand-up discussion here: https://youtu.be/N9wMcBP4jtg?t=2889 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I've recently published on my Github a markup extension OnScreenSizeMarkup and also a Nuget which helps controlling UI elements (Views) based on a screen category (ExtraSmall, Small, Medium, Large, ExtraLarge) a device fits in.
Some months ago I've published about this markup on my Blog and people told me that it should be pushed to a larger development community such as Xamarin/Maui Community Toolkit.
At that time I didn't know how to do it, but some days ago, when I published/announced on my LinkedIn about this project, I was lucky to have Gerald Versluis (thanks @jfversluis) commenting in my publication and providing me the initial instructions I needed to make it available on Maui Community toolkit, wether you guys aproves it.
Here is a sample code of the Markup in action:
It enables you to use it not only on FontSizes or RowDefinitions, but on most Visual Element's properties.
It's not ready for MAUI yet, but wether you aproves it, I can finish developing the Maui version (it is just a matter of implementing the markup itself, most of the code we already have will be used as is).
Beta Was this translation helpful? Give feedback.
All reactions