summaryrefslogtreecommitdiffstats
path: root/native
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2019-10-27 02:59:25 +0100
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2019-10-27 02:59:25 +0100
commit82c2aa6bfd1ed90b32b303a900e13b2c07bc69ba (patch)
tree962dea4ef08023ec78cf8e9b4c93d716225bd57a /native
parente2668b882a8115fd0afcd32373edb180492908b1 (diff)
downloadiced-82c2aa6bfd1ed90b32b303a900e13b2c07bc69ba.tar.gz
iced-82c2aa6bfd1ed90b32b303a900e13b2c07bc69ba.tar.bz2
iced-82c2aa6bfd1ed90b32b303a900e13b2c07bc69ba.zip
Align items properly inside a `Scrollable`
Diffstat (limited to 'native')
-rw-r--r--native/src/widget/scrollable.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/native/src/widget/scrollable.rs b/native/src/widget/scrollable.rs
index e0983e6e..95e8c74d 100644
--- a/native/src/widget/scrollable.rs
+++ b/native/src/widget/scrollable.rs
@@ -31,8 +31,7 @@ where
.max_width(self.content.max_width)
.height(self.height)
.max_height(self.max_height)
- .align_self(self.align_self)
- .align_items(self.align_items);
+ .align_self(self.align_self);
style.0.flex_direction = stretch::style::FlexDirection::Column;