[Merged by Bors] - UI text layout example#7359
Closed
ickshonpe wants to merge 11 commits intobevyengine:mainfrom
Closed
[Merged by Bors] - UI text layout example#7359ickshonpe wants to merge 11 commits intobevyengine:mainfrom
ickshonpe wants to merge 11 commits intobevyengine:mainfrom
Conversation
…parent node to apply margins and padding
alice-i-cecile
approved these changes
Jan 26, 2023
Member
alice-i-cecile
left a comment
There was a problem hiding this comment.
Super useful, both for learning and for checking that our code works. I love it.
Member
|
Nits:
|
Carter0
approved these changes
Jan 26, 2023
Contributor
Carter0
left a comment
There was a problem hiding this comment.
This would have saved me about 2 days of work lol.
…ses going downwards
Member
|
@ickshonpe I'll merge this once CI is passing. Like it suggests, run
|
Member
|
Ah, and now it's complaining about the freshly stabilized formatting lint 😅 |
Member
|
bors r+ |
bors bot
pushed a commit
that referenced
this pull request
Jan 27, 2023
## Objective An example that demonstrates how the `AlignItems` and `JustifyContent` properties can be composed to layout text. <img width="654" alt="text_layout_example" src="https://user-images.githubusercontent.com/27962798/215116345-daa8ef60-634b-40c6-9b6d-356de3af620c.png">
Contributor
ItsDoot
pushed a commit
to ItsDoot/bevy
that referenced
this pull request
Feb 1, 2023
## Objective An example that demonstrates how the `AlignItems` and `JustifyContent` properties can be composed to layout text. <img width="654" alt="text_layout_example" src="https://user-images.githubusercontent.com/27962798/215116345-daa8ef60-634b-40c6-9b6d-356de3af620c.png">
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Objective
An example that demonstrates how the
AlignItemsandJustifyContentproperties can be composed to layout text.