question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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

See original GitHub issue

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

Issue Analytics

  • State:open
  • Created 2 years ago
  • Reactions:28
  • Comments:11 (3 by maintainers)

github_iconTop GitHub Comments

6reactions
alexei-lazaricommented, Feb 26, 2023

👍

5reactions
Jagreapercommented, Dec 28, 2022

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

Read more comments on GitHub >

github_iconTop Results From Across the Web

minmax() - CSS: Cascading Style Sheets - MDN Web Docs
The minmax() CSS function defines a size range greater than or equal to min and less than or equal to max. It is...
Read more >
A Deep Dive Into CSS Grid minmax()
The first column width is minmax(200px, 500px) . The minimum value is 200px , and the maximum value is 500px . The other...
Read more >
Untitled
Grid column width min max WebFluid width. Column fluidity or responsiveness can be achieved by setting the flex property in GridColDef.
Read more >
Stretching the Grid — 6 fun ways to use CSS Grid
I've been playing with CSS Grid a lot recently. It is a great enhancement to CSS and makes creating layouts super easy. The...
Read more >
Intrinsically Responsive CSS Grid with minmax() and min()
With CSS Grid, we can create a grid of items arranged in equally sized columns and tell those column sizes to adjust based...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found