From 8b6c7c266a016bd589a6539b0ddd2aa168ce5974 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)