Skip to content

Commit

Permalink
fix: increment font size
Browse files Browse the repository at this point in the history
too small for old eyes
close revault#191
  • Loading branch information
edouardparis committed Sep 24, 2021
1 parent 8e4d25f commit 968ba50
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/app/view/stakeholder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ impl StakeholderCreateVaultsView {
address: Option<&bitcoin::Address>,
) -> Element<'a, Message> {
let mut content = Column::new()
.max_width(800)
.max_width(1000)
.push(Text::new("Create some vaults").bold().size(50))
.spacing(20);

Expand Down Expand Up @@ -255,7 +255,7 @@ impl StakeholderDelegateFundsView {
.align_items(Align::Center),
)
.push(
Container::new(col.spacing(30).max_width(800))
Container::new(col.spacing(30).max_width(1000))
.width(Length::Fill)
.align_x(Align::Center),
)
Expand Down
4 changes: 2 additions & 2 deletions src/ui/component/text.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ pub struct Text(iced::Text);

impl Text {
pub fn new(content: &str) -> Self {
Self(iced::Text::new(content).font(font::REGULAR).size(20))
Self(iced::Text::new(content).font(font::REGULAR).size(25))
}

pub fn bold(mut self) -> Self {
Expand All @@ -14,7 +14,7 @@ impl Text {
}

pub fn small(mut self) -> Self {
self.0 = self.0.size(15);
self.0 = self.0.size(20);
self
}

Expand Down

0 comments on commit 968ba50

Please sign in to comment.