Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Window title bar border disappears #3806

Closed
rustbasic opened this issue Jan 12, 2024 · 2 comments · Fixed by #4032
Closed

Window title bar border disappears #3806

rustbasic opened this issue Jan 12, 2024 · 2 comments · Fixed by #4032
Labels
bug Something is broken

Comments

@rustbasic
Copy link
Contributor

Subject: Window title bar border disappears

Dear emilk,

When I select a window in my program,
the color of the selected window's title bar changes,
but the border of the title bar disappears.

Thank you, emilk.

egui version: egui v0.25.0

@rustbasic rustbasic added the bug Something is broken label Jan 12, 2024
@emilk
Copy link
Owner

emilk commented Jan 12, 2024

The native os window, or egui::Window?

Do you have a screenshot?

@rustbasic
Copy link
Contributor Author

rustbasic commented Jan 12, 2024

@emilk
It mean egui::window

winchoice1
winchoice2

I know, I used it temporarily.

            let mut visuals = ui.visuals_mut().clone();
            visuals.window_highlight_topmost = false;
            ui.ctx().set_visuals(visuals);

When opening a window, it would be nice to have a function that opens the window when it is not selected.

rustbasic added a commit to rustbasic/egui that referenced this issue Feb 11, 2024
emilk pushed a commit that referenced this issue Mar 8, 2024
…order or large rounding (#4032)

Currently, the Window frame is displayed incorrectly when using a wide
border or large rounding.

* Closes #3806
* Closes #4024 
* Closes #4025 

* Screencast of egui demo app (emilk:master)


[window-frame-bug.webm](https://github.com/emilk/egui/assets/1274171/391f67fa-ae6f-445a-8c64-1bb575770127)

* Screencast of egui demo app (varphone:hotfix/window-custom-frame)


[window-frame-fixed.webm](https://github.com/emilk/egui/assets/1274171/1953124e-9f7a-4c2d-9024-5d2eece6b87c)
hacknus pushed a commit to hacknus/egui that referenced this issue Oct 30, 2024
…order or large rounding (emilk#4032)

Currently, the Window frame is displayed incorrectly when using a wide
border or large rounding.

* Closes emilk#3806
* Closes emilk#4024 
* Closes emilk#4025 

* Screencast of egui demo app (emilk:master)


[window-frame-bug.webm](https://github.com/emilk/egui/assets/1274171/391f67fa-ae6f-445a-8c64-1bb575770127)

* Screencast of egui demo app (varphone:hotfix/window-custom-frame)


[window-frame-fixed.webm](https://github.com/emilk/egui/assets/1274171/1953124e-9f7a-4c2d-9024-5d2eece6b87c)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something is broken
Projects
None yet
2 participants