|
|
I'm guessing what's going has something to do with the tooltip being "outside of" the window. Putting a window inside of a window does not cause a new window to show up in the taskbar, or cause the unfocusing effect.
Simple example in rust:
fn main(){
let app = App::default();
let mut win = Window::new(200, 200, 500, 300, "Event Trickle");
let win2 = Window::new(100,50, 200, 200, "WINDOW IN WINDOW");
let mut button= Button::new(0,0,250,200,"button in window 2");
button.set_color(Color::Red);
win2.end();
win.end();
win.show();
app.run().unwrap();
}
I think for a design perspective however, this "window in a window" approach might not be great because our tooltip will be clipped off at the boundaries of the parent window.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.
[ Direct Link to Message ] | |
|
| |