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

feat: add UiRect::axis #7692

Closed
wants to merge 1 commit into from
Closed

Conversation

SDesya74
Copy link
Contributor

Objective

I noticed that when specifying the button style, I often need to specify the horizontal and vertical padding separately.

Solution

Add UiRect::axis function for convinience.

@alice-i-cecile alice-i-cecile added A-UI Graphical user interfaces, styles, layouts, and widgets C-Usability A targeted quality-of-life change that makes Bevy easier to use labels Feb 15, 2023
@mockersf
Copy link
Member

Similar to #7656 but you have found a better name for it in my opinion 😄

@alice-i-cecile
Copy link
Member

I like this name better too! Closing as a duplicate though; we can resume bikeshedding there.

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-Usability A targeted quality-of-life change that makes Bevy easier to use
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants