35 const int header = 24;
36 const std::vector<int> rows( 20, 25 );
37 const int fullHeight = header + 20 * 25;
42 BOOST_CHECK_LT( capped, fullHeight );
static int CapHeightToVisibleRows(int aMinHeight, int aHeaderHeight, const std::vector< int > &aRowHeights, int aMaxRows)
Height of aMaxRows data rows plus the column-label header, never more than aMinHeight.
BOOST_CHECK_EQUAL(result, "25.4")