struct Sheen::TablePainter

Overview

Renders a Table given the resizer's column widths and row heights.

This is a readonly collaborator like other Sheen *painters, reads the Table through its getters and the resizer's widths.

Defined in:

sheen/table_painter.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(table : Table, widths : Array(Int32), heights : Array(Int32)) #

[View source]

Instance Method Detail

def render : String #

Assembles the borders, header, body, and clamps the table size.


[View source]