Skip to content

Conversation

erickok
Copy link
Contributor

@erickok erickok commented Jan 29, 2021

This fixes #491 specifically, and also updates flutter_layout_grid to a much improved version

This fixes Sub6Resources#491 specifically, and also updates flutter_layout_grid to a much improved version
Comment on lines +63 to +70
: IntrinsicContentTrackSize();
} else if (colWidth != null) {
final fixedPxSize = double.tryParse(colWidth);
return fixedPxSize != null
? FixedTrackSize(fixedPxSize)
: FlexibleTrackSize(1);
: IntrinsicContentTrackSize();
} else {
return FlexibleTrackSize(1);
return IntrinsicContentTrackSize();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this new flutter_layout_grid parameter correctly size when images are in a table? Curious to know whether this fixes that one issue we were having with small images inside tables.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes it does!

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome! I'm going to remove my comment on your image render proposal since this takes care of that.

Copy link
Contributor

@tneotia tneotia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Nice job :)

@erickok
Copy link
Contributor Author

erickok commented Feb 4, 2021

@ryan-berger could you review this? I can't self-review so I can't merge.

@ryan-berger
Copy link
Contributor

@erickok Yup, I can, but let me also up your permissions :)

@ryan-berger
Copy link
Contributor

@erickok Oh, actually, can't up your permissions for this one. That would require ownership I believe? Unless we turn these requirements off.... Maybe a discussion we can have over email

Copy link
Contributor

@ryan-berger ryan-berger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ryan-berger ryan-berger merged commit 17735ce into Sub6Resources:master Feb 4, 2021
@erickok erickok mentioned this pull request Feb 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Equal width of columns in a table

3 participants