Limit width of floating layout