SetColWidth sets the specified column width and may change the widths of the columns to the right
(colid string, width float32)
| 468 | // SetColWidth sets the specified column width and may |
| 469 | // change the widths of the columns to the right |
| 470 | func (t *Table) SetColWidth(colid string, width float32) { |
| 471 | |
| 472 | // Checks column id |
| 473 | c := t.header.cmap[colid] |
| 474 | if c == nil { |
| 475 | panic(tableErrInvCol) |
| 476 | } |
| 477 | t.setColWidth(c, width) |
| 478 | } |
| 479 | |
| 480 | // SetColExpand sets the column expand factor. |
| 481 | // When the table width is increased the columns widths are |
nothing calls this directly
no test coverage detected