diff options
| author | Albrecht Schlosser <albrechts.fltk@online.de> | 2023-10-19 20:16:01 +0200 |
|---|---|---|
| committer | Albrecht Schlosser <albrechts.fltk@online.de> | 2023-10-20 11:28:08 +0200 |
| commit | 757b5c12273cc1b4de8007b7c3f8536b699d2600 (patch) | |
| tree | 21fcdda87a554f35c891ab8f1e4f8b513da9b96b /src | |
| parent | 143a18ee116c1b173522cb96aa7369e6b11eea48 (diff) | |
Fix ctrl/+/- in cube demo
- Fl_Grid: force layout() on resize() - needed for GL subwindows
- test/cube.cxx:
- use end() in constructor of class cube_box
- ensure not to change the current group when adding a button
Diffstat (limited to 'src')
| -rw-r--r-- | src/Fl_Grid.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Fl_Grid.cxx b/src/Fl_Grid.cxx index 2952badc3..e88a0461e 100644 --- a/src/Fl_Grid.cxx +++ b/src/Fl_Grid.cxx @@ -587,7 +587,7 @@ void Fl_Grid::remove_cell(int row, int col) { void Fl_Grid::resize(int X, int Y, int W, int H) { old_size = Fl_Rect(x(), y(), w(), h()); Fl_Widget::resize(X, Y, W, H); - need_layout(1); + layout(); } /** |
