diff options
| -rw-r--r-- | fluid/Fl_Group_Type.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/fluid/Fl_Group_Type.cxx b/fluid/Fl_Group_Type.cxx index 555ffe186..a21ff6849 100644 --- a/fluid/Fl_Group_Type.cxx +++ b/fluid/Fl_Group_Type.cxx @@ -196,6 +196,7 @@ class Fluid_Table : public Fl_Table { public: Fluid_Table(int x, int y, int w, int h, const char *l=0L) : Fl_Table(x, y, w, h, l) { + end(); for ( int r=0; r<MAX_ROWS; r++ ) for ( int c=0; c<MAX_COLS; c++ ) data[r][c] = 1000+(r*1000)+c; @@ -203,7 +204,8 @@ public: rows(MAX_ROWS); // how many rows row_header(1); // enable row headers (along left) row_height_all(20); // default height of rows - row_resize(0); // disable row resizing // Cols + row_resize(0); // disable row resizing + // Cols cols(MAX_COLS); // how many columns col_header(1); // enable column headers (along top) col_width_all(80); // default width of columns |
