(&self)
| 163 | } |
| 164 | |
| 165 | pub fn update_container(&self) { |
| 166 | let mut state = self.state.borrow_mut(); |
| 167 | if !state.ready { |
| 168 | return; |
| 169 | } |
| 170 | |
| 171 | state.child_bounds = self.container.children_bounds(); |
| 172 | |
| 173 | self.container.set_w(state.child_bounds.w); |
| 174 | self.container.set_h(state.child_bounds.h); |
| 175 | } |
| 176 | |
| 177 | //Internal |
| 178 |
no test coverage detected