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 padding to new text in ui example #12567

Merged
merged 2 commits into from
Mar 26, 2024

Conversation

rparrett
Copy link
Contributor

@rparrett rparrett commented Mar 19, 2024

Objective

#11237 added some new text to the UI example. Unlike the other text sharing the same container just above, this new text has no padding and straddles the edge of the screen.

Solution

Move the padding to the container, and add row_gap so nodes placed in the container get some vertical separation as well.

Before / After
12567-before (1) 12567-after

@pablo-lua pablo-lua added C-Examples An addition or correction to our examples A-UI Graphical user interfaces, styles, layouts, and widgets labels Mar 19, 2024
@matiqo15 matiqo15 added the S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it label Mar 26, 2024
@mockersf mockersf added this pull request to the merge queue Mar 26, 2024
Merged via the queue into bevyengine:main with commit 4edd782 Mar 26, 2024
27 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-UI Graphical user interfaces, styles, layouts, and widgets C-Examples An addition or correction to our examples S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants