Skip to content

Em and rem coords layout tests - #25534

Open
ickshonpe wants to merge 3 commits into
bevyengine:mainfrom
ickshonpe:em_and_rem_coords_layout_test
Open

Em and rem coords layout tests#25534
ickshonpe wants to merge 3 commits into
bevyengine:mainfrom
ickshonpe:em_and_rem_coords_layout_test

Conversation

@ickshonpe

Copy link
Copy Markdown
Contributor

Objective

Add some basic tests to make sure layout works correctly with em and rem coords.

Solution

Two new tests in bevy_ui::layout::tests:

  • rem_sized_node_is_rem_sized
  • em_and_rem_sized_nodes_are_updated_on_changes_to_em_and_rem_sizes

@ickshonpe ickshonpe added A-UI Graphical user interfaces, styles, layouts, and widgets S-Needs-Goal This should have a C-Goal and should not continue until it has one labels Aug 24, 2026
@github-project-automation github-project-automation Bot moved this to Needs SME Triage in UI Aug 24, 2026
@ickshonpe ickshonpe added C-Testing A change that impacts how we test Bevy or how users test their apps S-Needs-Review Needs reviewer attention (from anyone!) to move forward D-Straightforward Simple bug fixes and API improvements, docs, test and examples and removed S-Needs-Goal This should have a C-Goal and should not continue until it has one labels Aug 24, 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-Testing A change that impacts how we test Bevy or how users test their apps D-Straightforward Simple bug fixes and API improvements, docs, test and examples S-Needs-Review Needs reviewer attention (from anyone!) to move forward

Projects

Status: Needs SME Triage

Development

Successfully merging this pull request may close these issues.

1 participant