You can remove all of this test code now that the infobar is using flowlayout. It should be example enough.