Skip to content

Add DebugOptions::show_unaligned - #5165

Merged
emilk merged 1 commit into
masterfrom
emilk/show-unaligned-widgets
Sep 25, 2024
Merged

emilk merged 1 commit into
masterfrom
emilk/show-unaligned-widgets

Conversation

@emilk

@emilk emilk commented Sep 25, 2024

Copy link
Copy Markdown
Owner

This tool highlights coordinates that are non-integer.

This is disabled by default (even in debug builds), because so many widgets cause un-alignment currently.

This is how it looks when enabled:
image

This tool highlights coordinates that are non-integer.

* Closes #4927
* Will be used for #5163

This is disabled by default (even in debug builds),
because so many widgets cause un-alignment currently.
@github-actions

Copy link
Copy Markdown

Preview available at https://egui-pr-preview.github.io/pr/5165-emilk/show-unaligned-widgets
Note that it might take a couple seconds for the update to show up after the preview_build workflow has completed.

@emilk
emilk merged commit 5d46f67 into master Sep 25, 2024
@emilk
emilk deleted the emilk/show-unaligned-widgets branch September 25, 2024 14:05
@abey79

abey79 commented Sep 25, 2024

Copy link
Copy Markdown
Collaborator

Awesome!

hacknus pushed a commit to hacknus/egui that referenced this pull request Oct 30, 2024
This tool highlights coordinates that are non-integer.

* Closes emilk#4927
* Will be used for emilk#5163

This is disabled by default (even in debug builds), because so many
widgets cause un-alignment currently.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Debug tool to highlight unaligned cursor coordinates

2 participants