def tree(): box = Box( title="Root", style=Style( border_collapse=False ), children=( Box( title="A", style=Style( border_collapse=False ), children=( Box( title="AA", ), Box( title="AB", ), ), ), Box( title="B", ), ), ) box.available_height = 100 box.available_width = 100 return box
def border_collapse_tree(): box = Box( title="Root", children=( Box( title="A", children=( Box(title="AA", ), Box(title="AB", ), ), ), Box(title="B", ), ), ) box.available_height = 100 box.available_width = 100 return box
def tree(): box = Box( title="Root", style=Style(border_collapse=False), children=( Box( title="A", style=Style(border_collapse=False), children=( Box(title="AA", ), Box(title="AB", ), ), ), Box(title="B", ), ), ) box.available_height = 100 box.available_width = 100 return box
def border_collapse_tree(): box = Box( title="Root", children=( Box( title="A", children=( Box( title="AA", ), Box( title="AB", ), ), ), Box( title="B", ), ), ) box.available_height = 100 box.available_width = 100 return box