sized widgets!
This commit is contained in:
1 parent
d4d0b3b580
commit
834182ffe8
14 files changed
+313
-106
No files matched your search
+1
-1
@@ -5,7 +5,7 @@ pub struct Stack {
|
||||
}
|
||||
|
||||
impl Widget for Stack {
|
||||
fn draw(&self, painter: &mut Painter) {
|
||||
fn draw(&mut self, painter: &mut Painter) {
|
||||
for child in &self.children {
|
||||
painter.draw(child);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user