class

Term2::StyleTable::Resizer

Inherits Reference < Object

Constructors

new(table_width : Int32, table_height : Int32, headers : Array(String), rows : Array(Array(String)))
Source

Instance methods

all_rows
Source
border_column
Source
border_column=(border_column : Bool)
Source
column_maxes

Debug/inspection helper

Source
columns
Source
columns=(columns : Array(ResizerColumn))
Source
detect_table_width
Source
expand_row_heights(col_widths : Array(Int32)) : Array(Int32)
Source
headers
Source
max_total
Source
optimized_widths
Source
row_heights
Source
row_heights=(row_heights : Array(Int32))
Source
table_height
Source
table_height=(table_height : Int32)
Source
table_width
Source
table_width=(table_width : Int32)
Source
wrap
Source
wrap=(wrap : Bool)
Source
x_padding_for_col(idx : Int32) : Int32
Source
y_paddings
Source
y_paddings=(y_paddings : Array(Array(Int32)))
Source