|
|
Thanks!
On Sunday, December 19, 2021 at 8:39:45 PM UTC-5 er...@seriss.com wrote:
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/ac149863-ceeb-4e4e-a37f-42a7204eb14cn%40googlegroups.com.
[ Direct Link to Message ] | |
|
| |