class

Lipgloss::StyleTable::Resizer

Inherits Reference < Object

Constructors

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

Instance methods

all_rows
border_bottom=(border_bottom : Bool)
border_bottom?
border_column=(border_column : Bool)
border_column?
border_header=(border_header : Bool)
border_header?
border_left=(border_left : Bool)
border_left?
border_right=(border_right : Bool)
border_right?
border_row=(border_row : Bool)
border_row?
border_top=(border_top : Bool)
border_top?
column_maxes

Debug/inspection helper

columns
columns=(columns : Array(ResizerColumn))
detect_table_width
expand_row_heights(col_widths : Array(Int32)) : Nil
headers
max_total
optimized_widths
row_heights
row_heights=(row_heights : Array(Int32))
table_height
table_height=(table_height : Int32)
table_width
table_width=(table_width : Int32)
use_manual_height=(use_manual_height : Bool)
use_manual_height?
visible_row_indexes
wrap=(wrap : Bool)
wrap?
x_padding_for_col(idx : Int32) : Int32
y_offset
y_offset=(y_offset : Int32)
y_paddings
y_paddings=(y_paddings : Array(Array(Int32)))