Add Header section to layout

This commit is contained in:
Alexander Heldt
2025-11-25 20:49:40 +01:00
parent 649fbf1c87
commit 91eab4e454

View File

@@ -19,11 +19,12 @@ pub fn new() -> Layout {
dict.from_list([
#(
Root,
Node(content: "Music Player", x: 1, y: 1, children: [
Node(content: "", x: 0, y: 0, children: [
Header,
PlaybackTime,
]),
),
#(Header, Node(content: "Music Player", x: 1, y: 1, children: [])),
#(PlaybackTime, Node(content: "00:00", x: 1, y: 2, children: [])),
])