fix(settings): broken layout with some settings items
This commit is contained in:
parent
e12d625338
commit
041ca44132
1 changed files with 1 additions and 6 deletions
|
|
@ -80,12 +80,7 @@ impl<'a, Message: 'static> Item<'a, Message> {
|
|||
contents.push(text(self.title).width(Length::Fill).into());
|
||||
}
|
||||
|
||||
contents.push(
|
||||
container(widget.into())
|
||||
.width(Length::Shrink)
|
||||
.align_x(iced_core::alignment::Horizontal::Right)
|
||||
.into(),
|
||||
);
|
||||
contents.push(widget.into().into());
|
||||
|
||||
item_row(contents)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue