You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm migrating from XF 5.x to MAUI with .NET 9 and have noticed that some views no longer set default spacing (namely, Grid and StackLayout now have their respective spacing properties at 0 instead of what seems to have been 10 from my testing). To reduce effort from having to manually update every grid in XAML to set rows and column spacing back to 10 to maintain the look and feel of my app, I applied this spacing via a global style in a resource dictionary I load into App.xaml as a merged dictionary.
The side effect I've discovered of this is that the Expander, which internally uses a grid to render the header and collapsible content, is being subject to this global style. Is this intended? I can understand wanting community toolkit views to be as flexible as possible, but this feels like an oversight.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I'm migrating from XF 5.x to MAUI with .NET 9 and have noticed that some views no longer set default spacing (namely, Grid and StackLayout now have their respective spacing properties at 0 instead of what seems to have been 10 from my testing). To reduce effort from having to manually update every grid in XAML to set rows and column spacing back to 10 to maintain the look and feel of my app, I applied this spacing via a global style in a resource dictionary I load into App.xaml as a merged dictionary.
The side effect I've discovered of this is that the Expander, which internally uses a grid to render the header and collapsible content, is being subject to this global style. Is this intended? I can understand wanting community toolkit views to be as flexible as possible, but this feels like an oversight.
Beta Was this translation helpful? Give feedback.
All reactions