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