* Using contentsMargins() to calculate the view height seems better.