Add new layouting support for TextLabel and ImageView.