fix(widget): unset max width for settings::view_column
This commit is contained in:
parent
8f9fde7fe8
commit
aa2dfe0ea5
1 changed files with 1 additions and 4 deletions
|
|
@ -13,8 +13,5 @@ use crate::Element;
|
||||||
/// A column with a predefined style for creating a settings panel
|
/// A column with a predefined style for creating a settings panel
|
||||||
#[must_use]
|
#[must_use]
|
||||||
pub fn view_column<Message: 'static>(children: Vec<Element<Message>>) -> Column<Message> {
|
pub fn view_column<Message: 'static>(children: Vec<Element<Message>>) -> Column<Message> {
|
||||||
column::with_children(children)
|
column::with_children(children).spacing(24).padding([0, 24])
|
||||||
.spacing(24)
|
|
||||||
.padding([0, 24])
|
|
||||||
.max_width(678)
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue