|
|
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(); ..
--
You received this message because you are subscribed to the Google Groups "fltk.general" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkgeneral+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkgeneral/640f6c54-7534-f57b-8aee-af049b9113d6%40seriss.com.
[ Direct Link to Message ] | |
|
| |