summaryrefslogtreecommitdiffstats
path: root/native/src/layout/node.rs
diff options
context:
space:
mode:
authorLibravatar bungoboingo <shankern@protonmail.com>2023-02-28 13:08:30 -0800
committerLibravatar bungoboingo <shankern@protonmail.com>2023-02-28 13:08:30 -0800
commit51296572c0189eaef8081c46270ff48b7e03258d (patch)
tree067b3a9102f92e4869f2a63d739a49379a9fb481 /native/src/layout/node.rs
parenta131f11a23d3430df58bf67a7c89f4b2284822af (diff)
parent86b85d1436a44e82a9765f9d82b026faf26e22de (diff)
downloadiced-51296572c0189eaef8081c46270ff48b7e03258d.tar.gz
iced-51296572c0189eaef8081c46270ff48b7e03258d.tar.bz2
iced-51296572c0189eaef8081c46270ff48b7e03258d.zip
Merge remote-tracking branch 'iced-main/master' into feat/multi-window-support
# Conflicts: # glutin/src/application.rs # winit/src/icon.rs
Diffstat (limited to 'native/src/layout/node.rs')
-rw-r--r--native/src/layout/node.rs6
1 files changed, 0 insertions, 6 deletions
diff --git a/native/src/layout/node.rs b/native/src/layout/node.rs
index e0c7dcb2..2b44a7d5 100644
--- a/native/src/layout/node.rs
+++ b/native/src/layout/node.rs
@@ -56,9 +56,6 @@ impl Node {
Alignment::End => {
self.bounds.x += space.width - self.bounds.width;
}
- Alignment::Fill => {
- self.bounds.width = space.width;
- }
}
match vertical_alignment {
@@ -69,9 +66,6 @@ impl Node {
Alignment::End => {
self.bounds.y += space.height - self.bounds.height;
}
- Alignment::Fill => {
- self.bounds.height = space.height;
- }
}
}