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

Add Box widget schema for redwood layout #1521

Merged
merged 1 commit into from
Oct 3, 2023
Merged

Conversation

underscoretang
Copy link
Collaborator

No description provided.

@JakeWharton
Copy link
Collaborator

LGTM so far

@underscoretang underscoretang force-pushed the box/widget-schema branch 2 times, most recently from bc00413 to 22c85e3 Compare September 29, 2023 23:35
@underscoretang
Copy link
Collaborator Author

Current dependencies on/for this PR:

This comment was auto-generated by Graphite.

This was referenced Sep 29, 2023
@underscoretang underscoretang changed the title [WIP] Add Box widget schema for redwood layout Add Box widget schema for redwood layout Sep 29, 2023

@Property(5)
@Default("Dp(0.0)")
val minHeight: Dp,
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Do folks think that these would be useful?

Choose a reason for hiding this comment

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

I think it's fine to be here, as long as it is a no-op when not assigned

Copy link
Collaborator

Choose a reason for hiding this comment

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

I would not add any new properties that are not fundamentally intrinsic to the display of Box. Things like minHeight/minWidth are equally as applicable to Row or Column, and we should discuss their inclusion separately so as to not distract from getting Box landed.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

cc: @swankjesse going to remove these

@underscoretang underscoretang marked this pull request as ready for review September 29, 2023 23:38
@underscoretang underscoretang force-pushed the box/widget-schema branch 2 times, most recently from aec7e0f to 93e9866 Compare October 2, 2023 15:53
@underscoretang underscoretang merged commit 8fba2cc into trunk Oct 3, 2023
8 checks passed
@underscoretang underscoretang deleted the box/widget-schema branch October 3, 2023 18:59
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.

3 participants