Implement floating child stacking above parents

This commit is contained in:
Ivan Molodetskikh
2024-12-13 10:28:25 +03:00
parent 4fe718581b
commit aac54d0ea1
6 changed files with 350 additions and 9 deletions
+4
View File
@@ -240,6 +240,10 @@ impl LayoutElement for TestWindow {
self.inner.borrow().requested_size
}
fn is_child_of(&self, _parent: &Self) -> bool {
false
}
fn refresh(&self) {}
fn rules(&self) -> &ResolvedWindowRules {