From b8d4304147598035d66c50093431eb69e8a01197 Mon Sep 17 00:00:00 2001 From: PlexSheep Date: Wed, 10 Jul 2024 01:49:50 +0200 Subject: [PATCH] feat: sunparts fixed length under time --- src/clock.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/clock.rs b/src/clock.rs index f8d1118..72881c8 100644 --- a/src/clock.rs +++ b/src/clock.rs @@ -263,7 +263,7 @@ impl Clock { fn partition(r: Rect) -> Vec { let part = Layout::default() .direction(Direction::Vertical) - .constraints([Constraint::Percentage(43), Constraint::Min(0)]) + .constraints([Constraint::Length(8), Constraint::Min(0)]) .split(r); let subparts = Layout::default() .direction(Direction::Horizontal)