Make layout bounds explicit in UserInterface
This commit is contained in:
parent
e45497dfd6
commit
e6aa25a103
4 changed files with 65 additions and 45 deletions
|
|
@ -445,8 +445,9 @@ impl iced_native::Renderer for Renderer {
|
|||
fn layout<'a, Message>(
|
||||
&mut self,
|
||||
element: &iced_native::Element<'a, Message, Self>,
|
||||
limits: &iced_native::layout::Limits,
|
||||
) -> iced_native::layout::Node {
|
||||
let node = element.layout(self, &iced_native::layout::Limits::NONE);
|
||||
let node = element.layout(self, limits);
|
||||
|
||||
self.text_pipeline.clear_measurement_cache();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue