Giter Club home page Giter Club logo

Comments (5)

mattleibow avatar mattleibow commented on May 14, 2024 4

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.

dersia avatar dersia commented on May 14, 2024

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.

CarnageMarkus avatar CarnageMarkus commented on May 14, 2024

@mattleibow Is't that what you describe basically grid ? Grid already supports proportional sizing.
Grid = absolute/proportional/auto sizing
Stack =auto sizing.

from maui.

mattleibow avatar mattleibow commented on May 14, 2024

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.

jsuarezruiz avatar jsuarezruiz commented on May 14, 2024

Take a look to the discussion here: #3324

from maui.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.