quick fix for TreeItem and trying to avoid resize problems of ListBarWidget