generated from PlexSheep/rs-base
feat: sunparts fixed length under time
This commit is contained in:
parent
25916afc30
commit
b8d4304147
|
@ -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)
|
||||||
|
|
Reference in New Issue