Skip to content

Allow Outline's to have negative offset values#23835

Merged
alice-i-cecile merged 3 commits intobevyengine:mainfrom
ickshonpe:allow-negative-outline-offsets
Apr 16, 2026
Merged

Allow Outline's to have negative offset values#23835
alice-i-cecile merged 3 commits intobevyengine:mainfrom
ickshonpe:allow-negative-outline-offsets

Conversation

@ickshonpe
Copy link
Copy Markdown
Contributor

Objective

Allow negative outline offset values

Solution

Instead of clamping outline offsets to equal or above zero, clamp them to equal or above the length of the node's shorter side.

@alice-i-cecile alice-i-cecile added C-Feature A new feature, making something new possible D-Trivial Nice and easy! A great choice to get started with Bevy A-UI Graphical user interfaces, styles, layouts, and widgets S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it X-Uncontroversial This work is generally agreed upon labels Apr 16, 2026
@github-project-automation github-project-automation Bot moved this to Needs SME Triage in UI Apr 16, 2026
@alice-i-cecile alice-i-cecile disabled auto-merge April 16, 2026 22:19
@ickshonpe ickshonpe added S-Waiting-on-Author The author needs to make changes or address concerns before this can be merged and removed S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it labels Apr 16, 2026
Comment thread crates/bevy_ui/src/layout/mod.rs
@ickshonpe ickshonpe added S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it and removed S-Waiting-on-Author The author needs to make changes or address concerns before this can be merged labels Apr 16, 2026
@alice-i-cecile alice-i-cecile added this pull request to the merge queue Apr 16, 2026
Merged via the queue into bevyengine:main with commit 3d04eeb Apr 16, 2026
40 checks passed
@github-project-automation github-project-automation Bot moved this from Needs SME Triage to Done in UI Apr 16, 2026
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-Feature A new feature, making something new possible D-Trivial Nice and easy! A great choice to get started with Bevy S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it X-Uncontroversial This work is generally agreed upon

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants