parent
a48c69d809
commit
22a13c75bb
1 changed files with 4 additions and 0 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue