mirror of
https://github.com/storytold/egui.git
synced 2026-11-23 02:52:15 +01:00
1 parent
a48c69d809
commit
22a13c75bb
1 file changed
+4
@@ -470,6 +470,10 @@ impl Ui {
|
||||
self.available_size().x
|
||||
}
|
||||
|
||||
pub fn available_height(&self) -> f32 {
|
||||
self.available_size().y
|
||||
}
|
||||
|
||||
/// In case of a wrapping layout, how much space is left on this row/column?
|
||||
pub fn available_size_before_wrap(&self) -> Vec2 {
|
||||
self.placer.available_rect_before_wrap().size()
|
||||
|
||||
Reference in new issue
Block a user