@@ -70,13 +70,13 @@ impl Container {
7070
7171impl Default for Container {
7272 fn default() -> Self {
73− Self::new(Layout::Horizontal)
73+ Self::new(Layout::Vertical)
7474 }
7575}
7676
7777impl Tree {
7878 pub fn new(area: Rect) -> Self {
79− let root = Node::container(Layout::Horizontal);
79+ let root = Node::container(Layout::Vertical);
8080
8181 let mut nodes = HopSlotMap::with_key();
8282 let root = nodes.insert(root);
@@ -322,7 +322,7 @@ impl Tree {
322322 container.area = area;
323323
324324 match container.layout {
325− Layout::Vertical => {
325+ Layout::Horizontal => {
326326 let len = container.children.len();
327327
328328 let height = area.height / len as u16;
@@ -347,7 +347,7 @@ impl Tree {
347347 self.stack.push((*child, area));
348348 }
349349 }
350− Layout::Horizontal => {
350+ Layout::Vertical => {
351351 let len = container.children.len();
352352
353353 let width = area.width / len as u16;