fix(settings): avoid overlap of item title and controls
This commit is contained in:
parent
a09e76e729
commit
cd9778a704
1 changed files with 3 additions and 3 deletions
|
|
@ -73,16 +73,16 @@ impl<'a, Message: 'static> Item<'a, Message> {
|
|||
.spacing(2)
|
||||
.push(text(self.title))
|
||||
.push(text(description).size(10))
|
||||
.width(Length::FillPortion(12));
|
||||
.width(Length::Fill);
|
||||
|
||||
contents.push(column.into());
|
||||
} else {
|
||||
contents.push(text(self.title).into());
|
||||
contents.push(text(self.title).width(Length::Fill).into());
|
||||
}
|
||||
|
||||
contents.push(
|
||||
container(widget.into())
|
||||
.width(Length::FillPortion(4))
|
||||
.width(Length::Shrink)
|
||||
.align_x(iced_core::alignment::Horizontal::Right)
|
||||
.into(),
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue