mirror of
https://github.com/emilk/egui.git
synced 2026-08-31 13:50:04 -04:00
Constrain Areas to screen by default (#4591)
Call `area.constrain(false)` if you want your areas to extend outside the screen rect.
This commit is contained in:
@@ -142,7 +142,6 @@ impl<'a> Widget for DatePickerButton<'a> {
|
||||
} = Area::new(ui.make_persistent_id(self.id_source))
|
||||
.order(Order::Foreground)
|
||||
.fixed_pos(pos)
|
||||
.constrain_to(ui.ctx().screen_rect())
|
||||
.show(ui.ctx(), |ui| {
|
||||
let frame = Frame::popup(ui.style());
|
||||
frame
|
||||
|
||||
Reference in New Issue
Block a user