On 12/19/21 1:27 PM, david allen wrote:
col_width_all seems to have no effect. I use fltk 1.4.0 and linux mint Debian addition.
You have to call that after you set your cols() value, so
move your col_width_all() call
into your SetSize() function, below where you set rows() and
cols(), so it knows the number
of columns to apply the new value to.
void SetSize(int newrows, int newcols) {
clear(); // clear any previous widgets, if
any
rows(newrows);
cols(newcols);
col_width_all(150);
// move it here
begin(); ..