Lines Matching full:width

62     // Override the actual width of the columns based on user-specified widths.  in override_column_widths()
84 /// \return The index of the refill column with a width_refill width if any, or
98 /// Pads the widths of the table to fit within a maximum width.
101 /// than its current value, if the total width of the table would exceed the
102 /// maximum table width.
107 /// \param user_max_width The target width of the table; must not be zero.
109 /// width should be larger than the padding times the number of columns; if
127 text::widths_vector::value_type width = 0; in refill_widths() local
130 width += widths[i]; in refill_widths()
132 widths[refill_column] = max_width - width; in refill_widths()
136 /// Pads an input text to a specified width with spaces.
199 /// wider than the specified width are refilled to attempt to fit in the
200 /// cell. Cells narrower than the width are right-padded with spaces.
252 /// Gets the width of a column.
255 /// may have grown in width.
257 /// \param column The index of the column of which to get the width. Must be
260 /// \return The width of a column.
272 /// may have grown in width.
274 /// \return A vector with the width of all columns.
328 /// Column width to denote that the column has to fit all of its cells.
332 /// Column width to denote that the column can be refilled to fit the table.
345 /// Sets the width of a column.
347 /// All columns except one must have a width that is, at least, as wide as the
348 /// widest cell in the column. One of the columns can have a width of
350 /// does not fit in its maximum width.
352 /// \param column The index of the column to set the width for.
353 /// \param width The width to set the column to.
358 const std::size_t width) in set_column_width() argument
361 if (width == width_refill) { in set_column_width()
365 "Only one column width can be set to width_refill"); in set_column_width()
372 _column_widths[column] = width; in set_column_width()
390 /// Sets the maximum width of the table.
392 /// \param table_width The maximum width of the table; cannot be zero.