feat: sunparts fixed length under time

This commit is contained in:
Christoph J. Scherr 2024-07-10 01:49:50 +02:00
parent 653e647855
commit 8b6c7c266a
1 changed files with 1 additions and 1 deletions

View File

@ -263,7 +263,7 @@ impl Clock {
fn partition(r: Rect) -> Vec<Rect> { fn partition(r: Rect) -> Vec<Rect> {
let part = Layout::default() let part = Layout::default()
.direction(Direction::Vertical) .direction(Direction::Vertical)
.constraints([Constraint::Percentage(43), Constraint::Min(0)]) .constraints([Constraint::Length(8), Constraint::Min(0)])
.split(r); .split(r);
let subparts = Layout::default() let subparts = Layout::default()
.direction(Direction::Horizontal) .direction(Direction::Horizontal)