mirror of
https://github.com/mimblewimble/grin.git
synced 2025-02-08 12:21:09 +03:00
TUI basis status text align (#2150)
* tui basic status text align * rustfmt
This commit is contained in:
parent
e6bc6e060e
commit
32a7c309e7
1 changed files with 16 additions and 13 deletions
|
@ -47,8 +47,9 @@ impl TUIStatusListener for TUIStatusView {
|
||||||
.child(TextView::new("0").with_id("connected_peers")),
|
.child(TextView::new("0").with_id("connected_peers")),
|
||||||
)
|
)
|
||||||
.child(
|
.child(
|
||||||
LinearLayout::new(Orientation::Horizontal)
|
LinearLayout::new(Orientation::Horizontal).child(TextView::new(
|
||||||
.child(TextView::new("------------------------")),
|
"------------------------------------------------",
|
||||||
|
)),
|
||||||
)
|
)
|
||||||
.child(
|
.child(
|
||||||
LinearLayout::new(Orientation::Horizontal)
|
LinearLayout::new(Orientation::Horizontal)
|
||||||
|
@ -66,12 +67,13 @@ impl TUIStatusListener for TUIStatusView {
|
||||||
.child(TextView::new(" ").with_id("basic_header_total_difficulty")),
|
.child(TextView::new(" ").with_id("basic_header_total_difficulty")),
|
||||||
)
|
)
|
||||||
.child(
|
.child(
|
||||||
LinearLayout::new(Orientation::Horizontal)
|
LinearLayout::new(Orientation::Horizontal).child(TextView::new(
|
||||||
.child(TextView::new("------------------------")),
|
"------------------------------------------------",
|
||||||
|
)),
|
||||||
)
|
)
|
||||||
.child(
|
.child(
|
||||||
LinearLayout::new(Orientation::Horizontal)
|
LinearLayout::new(Orientation::Horizontal)
|
||||||
.child(TextView::new("Tip Hash: "))
|
.child(TextView::new("Chain Tip Hash: "))
|
||||||
.child(TextView::new(" ").with_id("tip_hash")),
|
.child(TextView::new(" ").with_id("tip_hash")),
|
||||||
)
|
)
|
||||||
.child(
|
.child(
|
||||||
|
@ -81,12 +83,13 @@ impl TUIStatusListener for TUIStatusView {
|
||||||
)
|
)
|
||||||
.child(
|
.child(
|
||||||
LinearLayout::new(Orientation::Horizontal)
|
LinearLayout::new(Orientation::Horizontal)
|
||||||
.child(TextView::new("Cumulative Difficulty: "))
|
.child(TextView::new("Chain Cumulative Difficulty: "))
|
||||||
.child(TextView::new(" ").with_id("basic_total_difficulty")),
|
.child(TextView::new(" ").with_id("basic_total_difficulty")),
|
||||||
)
|
)
|
||||||
.child(
|
.child(
|
||||||
LinearLayout::new(Orientation::Horizontal)
|
LinearLayout::new(Orientation::Horizontal).child(TextView::new(
|
||||||
.child(TextView::new("------------------------")),
|
"------------------------------------------------",
|
||||||
|
)),
|
||||||
)
|
)
|
||||||
.child(
|
.child(
|
||||||
LinearLayout::new(Orientation::Horizontal)
|
LinearLayout::new(Orientation::Horizontal)
|
||||||
|
|
Loading…
Reference in a new issue