autolayout for tip