fixes issue #9: treeview should be flex=1