This four lines are here so Boxes sample work same as in GTK(Labels should resize to minimum instead of resizing window).