Comments (5)
Is it not better to use a weight system?
So if I have a stack with 3 items, and each has a VerticalOptions of Fill, then each gets the current height.
If I set them all to be Weight=1, then it overrides the space because it will do a RemainingHeight/3 and then set that to be the height. Even if the first item say requires 90% of the space?
from maui.
In general, if we are to introduce breaking changes on xaml like this, shouldn't we take the opportunity with moving to a "new" product and just streamline XAML?
I know, I know, this is sooo much XamlStandard, but here is an opportunity to take. We could also implement the XF-Xaml flavor as aliases with setting those to Obsolete to make the migration easy for net6 and then drop them with net7.
This is just a thought and I am not sure how everyone is thinking about it, but I think it is the right time to do it.
from maui.
@mattleibow Is't that what you describe basically grid ? Grid already supports proportional sizing.
Grid = absolute/proportional/auto sizing
Stack =auto sizing.
from maui.
I was just coming from the Android world. They have stacks with weight and it is pretty cool. However, since stacks are just limited grids, why remove features? Maybe from the sense of simpler calculations - no need to calculate the sizes of all children before laying out?
from maui.
Take a look to the discussion here: #3324
from maui.
Related Issues (20)
- ScrollView does not work inside VerticalStackLayout HOT 2
- Allow fullscreen by MAUI.Blazor calls HOT 2
- Upgrade fails, conflicting messages on installed vs needed HOT 1
- ToolTipProperties.Text does not update when used in DataTemplate HOT 2
- Flyout Button Disappears HOT 2
- Maui Application not launching HOT 3
- [Android] SemanticProperties.HeadingLevel not working in ListView HOT 6
- [.Net 8] Bindable Properties Initialization with default new() HOT 1
- I think you mean that the ellipses inside the `if`s stand for the code you want executed _only_ on change? Then that implementation would make sense. HOT 2
- I think you mean that the ellipses inside the `if`s stand for the code you want executed _only_ on change? Then that implementation would make sense. HOT 1
- [XC] Infer x:DataType from BindingContext or BindingExtension.Source
- [Android] MissingMethodException when trying to get Handler for Maui View HOT 3
- Debug build works for android maui8 but release doesnt compile because file is being used by another process HOT 6
- Span's TapGestureRecognizer not working if text is truncated HOT 1
- Focus and blur event get triggered unnecessarily HOT 1
- MAUI .NET 8.0 built with Full AOT Compilation reports a lot of `Mono : AOT NOT FOUND` HOT 1
- Enable CSS for VerticalStackLayout and HorizontalStackLayout
- [Testing] Finish tests for "Fix crash closing Popup with WebView"
- Spurious `XFC0040` errors. HOT 4
- .NET MAUI app crashes when entering "Editor" iOS Emulator HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from maui.