Skip to content

Migrate ui_texture_atlas_slice to use bevy_ui_widgets::Button (Phase 1 Item 4)#25063

Open
taearls wants to merge 3 commits into
bevyengine:mainfrom
taearls:24112/images-ui-texture-atlas-slice
Open

Migrate ui_texture_atlas_slice to use bevy_ui_widgets::Button (Phase 1 Item 4)#25063
taearls wants to merge 3 commits into
bevyengine:mainfrom
taearls:24112/images-ui-texture-atlas-slice

Conversation

@taearls

@taearls taearls commented Jul 18, 2026

Copy link
Copy Markdown
Contributor

Objective

Solution

  • Migrate the ui/images/ui_texture_atlas_slice.rs example to use bevy_ui_widgets::Button.
  • I used the existing button_system fn to handle hover and pressed events.
  • Added some comments to document the functionality

Testing

  • Did you test these changes? If so, how?
    Yes, I ran the ui_texture_atlas_slice example before and after implementing my changes, verifying the functionality is preserved.

@alice-i-cecile alice-i-cecile added C-Examples An addition or correction to our examples A-UI Graphical user interfaces, styles, layouts, and widgets X-Uncontroversial This work is generally agreed upon D-Straightforward Simple bug fixes and API improvements, docs, test and examples S-Needs-Review Needs reviewer attention (from anyone!) to move forward labels Jul 18, 2026
@github-project-automation github-project-automation Bot moved this to Needs SME Triage in UI Jul 18, 2026
Comment thread examples/ui/images/ui_texture_atlas_slice.rs Outdated
@kfc35 kfc35 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-Needs-Review Needs reviewer attention (from anyone!) to move forward labels Jul 19, 2026
@alice-i-cecile
alice-i-cecile added this pull request to the merge queue Jul 20, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Jul 20, 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-Examples An addition or correction to our examples D-Straightforward Simple bug fixes and API improvements, docs, test and examples 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: Needs SME Triage

Development

Successfully merging this pull request may close these issues.

3 participants