update to support winit multi-window
This commit is contained in:
parent
77e9a160c4
commit
c66e4aafd0
13 changed files with 149 additions and 97 deletions
|
|
@ -31,10 +31,10 @@ where
|
|||
.width(self.width)
|
||||
.height(bounds.height - 8.0 - position.y);
|
||||
|
||||
let mut node =
|
||||
self.content
|
||||
.as_widget()
|
||||
.layout(&mut self.tree, renderer, &limits);
|
||||
let mut node = self
|
||||
.content
|
||||
.as_widget()
|
||||
.layout(&mut self.tree, renderer, &limits);
|
||||
let node_size = node.size();
|
||||
|
||||
node.move_to(Point {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue