Track retained layout validity explicitly
This commit is contained in:
1 parent
691e3eb23c
commit
29c7881c8a
25 files changed
+836
-795
No files matched your search
@@ -41,11 +41,6 @@ impl Widget for Rect {
|
||||
fn size_hint(&self, _: Axis) -> Option<Len> {
|
||||
Some(Len::LEFTOVER)
|
||||
}
|
||||
|
||||
/// Its box is its primitive's own region, so a new one is written there.
|
||||
fn on_resize(&self, _: Axis) -> OnResize {
|
||||
OnResize::Scale
|
||||
}
|
||||
}
|
||||
|
||||
pub fn rect(color: UiColor) -> Rect {
|
||||
|
||||
Reference in new issue
Block a user