Searched refs:vPadding (Results 1 – 3 of 3) sorted by relevance
225 float vPadding = max_c(6.0, ceilf(minWidth / 3.0)); in PreferredSize() local230 minHeight += ceilf(fh.ascent + fh.descent) + vPadding; in PreferredSize()231 minWidth += StringWidth(Label()) + vPadding; in PreferredSize()234 return BSize(minWidth + hPadding, minHeight + vPadding); in PreferredSize()
267 float vPadding = max_c(6.0, ceilf(minWidth / 3.0)); in PreferredSize() local272 minHeight += ceilf(fh.ascent + fh.descent) + vPadding; in PreferredSize()273 minWidth += StringWidth(Label()) + vPadding; in PreferredSize()276 return BSize(minWidth + hPadding, minHeight + vPadding); in PreferredSize()
234 float vPadding = max_c(6.0f, ceilf(minWidth / 4.0f)); in GetPreferredSize() local239 minHeight += ceilf(fh.ascent + fh.descent) + vPadding; in GetPreferredSize()240 minWidth += StringWidth(Label()) + vPadding; in GetPreferredSize()246 *height = minHeight + vPadding; in GetPreferredSize()