Home
last modified time | relevance | path

Searched refs:vPadding (Results 1 – 3 of 3) sorted by relevance

/haiku/src/apps/switcher/
H A DLaunchButton.cpp225 float vPadding = max_c(6.0, ceilf(minWidth / 3.0)); in PreferredSize() local
230 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()
/haiku/src/apps/launchbox/
H A DLaunchButton.cpp267 float vPadding = max_c(6.0, ceilf(minWidth / 3.0)); in PreferredSize() local
272 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()
/haiku/src/kits/shared/
H A DIconButton.cpp234 float vPadding = max_c(6.0f, ceilf(minWidth / 4.0f)); in GetPreferredSize() local
239 minHeight += ceilf(fh.ascent + fh.descent) + vPadding; in GetPreferredSize()
240 minWidth += StringWidth(Label()) + vPadding; in GetPreferredSize()
246 *height = minHeight + vPadding; in GetPreferredSize()