generated from PlexSheep/rs-base
feat: sunparts fixed length under time
cargo devel CI / cargo CI (push) Successful in 1m17s
Details
cargo devel CI / cargo CI (push) Successful in 1m17s
Details
This commit is contained in:
parent
893aab675e
commit
468a77da99
|
@ -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