generated from PlexSheep/rs-base
add a time bar #8
|
@ -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