Skip to content

y axis inversion #1591

@davehorner

Description

@davehorner

I am having trouble getting windows to align using egui_webview and in my projects. I found hello_egui and this example also is behaving strangely for me but not the author.
lucasmerlin/hello_egui#77 (comment)

(https://github.com/lucasmerlin/hello_egui/blob/daef1e5b08f9fccd8d6412dac0f39233e77c6cba/crates/egui_webview/src/lib.rs#L275)

the use of wv_rect.min.y does fix alignment for me. what is inverting this value or different about my configuration?

Steps To Reproduce
using wry = "0.45.0"
git clone https://github.com/lucasmerlin/hello_egui.git
cd hello_egui
cargo e egui_webview

Expected behavior
should not need to patch this to get alignment.

Screenshots
See link above

Platform and Versions (please complete the following information):
OS: win11
Rustc: rustc 1.88.0 (6b00bc388 2025-06-23)

happy to place in debug or printlns wherever, would appreciate additional screenshots from others for reproduction verification...and any guidance is appreciated. thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions