fix(settings): set proper font sizes
This commit is contained in:
parent
1fc370331c
commit
423577149b
2 changed files with 7 additions and 4 deletions
|
|
@ -31,7 +31,10 @@ impl<'a, Message: 'static> Section<'a, Message> {
|
|||
|
||||
impl<'a, Message: 'static> From<Section<'a, Message>> for Element<'a, Message> {
|
||||
fn from(data: Section<'a, Message>) -> Self {
|
||||
let title = text(data.title).font(crate::font::FONT_SEMIBOLD).into();
|
||||
let title = text(data.title)
|
||||
.size(20)
|
||||
.font(crate::font::FONT_SEMIBOLD)
|
||||
.into();
|
||||
|
||||
column(vec![title, data.children.into_element()])
|
||||
.spacing(8)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue