Skip to content
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

[Enhancement] Support Min|Max Height|Width on Grid Column|Row Definition #710

Open
YZahringer opened this issue Apr 12, 2021 · 18 comments
Open
Labels
area-layout StackLayout, GridLayout, ContentView, AbsoluteLayout, FlexLayout, ContentPresenter proposal/open t/enhancement ☀️ New feature or request
Milestone

Comments

@YZahringer
Copy link
Contributor

Summary

Support Minimum and Maximum Width/Height of Grid Column/Row definitions.

Same as WinUI:

API Changes

public class ColumnDefinition
{
    ...
    double MinWidth { get; set; }
    double MaxWidth { get; set; }
}

public class RowDefinition
{
    ...
    double MinHeight { get; set; }
    double MaxHeight { get; set; }
}

Intended Use Case

Define more responsive & dynamic Grid layout sizes

@YZahringer
Copy link
Contributor Author

@Redth I don't see it in ColumnDefinition or IGridColumnDefinition, the definition is in another place?

@Redth Redth reopened this Aug 31, 2021
@Redth
Copy link
Member

Redth commented Aug 31, 2021

Sorry, this got batched up with a different min/max height/width request implementation. Reopened, but we have no plans to implement this currently.

@Eilon Eilon added the area-layout StackLayout, GridLayout, ContentView, AbsoluteLayout, FlexLayout, ContentPresenter label Oct 18, 2021
@Redth Redth added this to the .NET 7 milestone Nov 5, 2021
@Redth Redth modified the milestones: .NET 7 + Servicing, Backlog Aug 30, 2022
@ghost
Copy link

ghost commented Aug 30, 2022

We've moved this issue to the Backlog milestone. This means that it is not going to be worked on for the coming release. We will reassess the backlog following the current release and consider this item at that time. To learn more about our issue management process and to have better expectation regarding different types of issues you can read our Triage Process.

@Jagreaper
Copy link

Jagreaper commented Dec 28, 2022

Is this going to be considered at all? This was a very heavily used thing in WPF.

@hartez
Copy link
Contributor

hartez commented Dec 28, 2022

Is this going to be considered at all? This was a very heavily used thing in WPF.

If enough folks start replying with 👍 or comments saying they want this feature, then we'd consider it. I can't think of any technical reason that it couldn't be implemented.

At the moment we're prioritizing stabilization and bug fixes, so new features probably won't happen for a while.

@alexei-lazari
Copy link

👍

4 similar comments
@tstotis86
Copy link

👍

@SvendK
Copy link

SvendK commented May 19, 2023

👍

@dydynski-extron
Copy link

👍

@davidlang42
Copy link

👍

@gerardormz98
Copy link

👍

Is there any current workaround for this?

@asi-evin
Copy link

👍

@negberts
Copy link

negberts commented Jan 24, 2024

Yes please!

@SvendK
Copy link

SvendK commented Feb 20, 2024

👍

@ethantreece
Copy link

👍 really disappointed this cannot be done

@baaaaif
Copy link

baaaaif commented Aug 1, 2024

I need it too

@axa88
Copy link

axa88 commented Aug 24, 2024

If enough folks start replying with 👍 or comments saying they want this feature, then we'd consider it.

@hartez
so exactly how many 👍 are we talking about here...

@hartez
Copy link
Contributor

hartez commented Sep 3, 2024

If enough folks start replying with 👍 or comments saying they want this feature, then we'd consider it.

@hartez so exactly how many 👍 are we talking about here...

That's more of a @Redth question 😃.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-layout StackLayout, GridLayout, ContentView, AbsoluteLayout, FlexLayout, ContentPresenter proposal/open t/enhancement ☀️ New feature or request
Projects
None yet
Development

No branches or pull requests