Add Header section to layout
This commit is contained in:
@@ -19,11 +19,12 @@ pub fn new() -> Layout {
|
|||||||
dict.from_list([
|
dict.from_list([
|
||||||
#(
|
#(
|
||||||
Root,
|
Root,
|
||||||
Node(content: "Music Player", x: 1, y: 1, children: [
|
Node(content: "", x: 0, y: 0, children: [
|
||||||
Header,
|
Header,
|
||||||
PlaybackTime,
|
PlaybackTime,
|
||||||
]),
|
]),
|
||||||
),
|
),
|
||||||
|
#(Header, Node(content: "Music Player", x: 1, y: 1, children: [])),
|
||||||
#(PlaybackTime, Node(content: "00:00", x: 1, y: 2, children: [])),
|
#(PlaybackTime, Node(content: "00:00", x: 1, y: 2, children: [])),
|
||||||
])
|
])
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user