mirror of
https://github.com/ClementTsang/bottom.git
synced 2025-07-27 07:34:27 +02:00
update basic config
This commit is contained in:
parent
93f936f369
commit
3ee6dcc5c7
@ -475,7 +475,7 @@ pub const DEFAULT_BASIC_LAYOUT: &str = r##"
|
|||||||
ratio = 0
|
ratio = 0
|
||||||
[[row.child]]
|
[[row.child]]
|
||||||
[[row.child.child]]
|
[[row.child.child]]
|
||||||
length = 1
|
height = 1
|
||||||
type = "empty"
|
type = "empty"
|
||||||
[[row]]
|
[[row]]
|
||||||
ratio = 0
|
ratio = 0
|
||||||
@ -496,7 +496,7 @@ pub const DEFAULT_BASIC_BATTERY_LAYOUT: &str = r##"
|
|||||||
[[row]]
|
[[row]]
|
||||||
[[row.child]]
|
[[row.child]]
|
||||||
[[row.child.child]]
|
[[row.child.child]]
|
||||||
length = 1
|
height = 1
|
||||||
type = "empty"
|
type = "empty"
|
||||||
[[row]]
|
[[row]]
|
||||||
[[row.child]]
|
[[row.child]]
|
||||||
|
@ -204,7 +204,6 @@ impl<Message> TmpComponent<Message> for Flex<Message> {
|
|||||||
// children here!
|
// children here!
|
||||||
let mut current_x_offset = 0;
|
let mut current_x_offset = 0;
|
||||||
let mut current_y_offset = 0;
|
let mut current_y_offset = 0;
|
||||||
|
|
||||||
sizes
|
sizes
|
||||||
.iter()
|
.iter()
|
||||||
.zip(children.iter_mut())
|
.zip(children.iter_mut())
|
||||||
|
Loading…
x
Reference in New Issue
Block a user