diff options
| author | Albrecht Schlosser <albrechts.fltk@online.de> | 2023-10-19 14:22:58 +0200 |
|---|---|---|
| committer | Albrecht Schlosser <albrechts.fltk@online.de> | 2023-10-19 14:22:58 +0200 |
| commit | 5c7ad00e07d3ace16d1248d662e5672ef0648743 (patch) | |
| tree | 80f45ca6a15d5e84aa40146b2e32c45233276356 /examples | |
| parent | ca7844cf94ad5ba892fe8b162a86b25c9ba6a172 (diff) | |
Improve Fl_Grid example code
Add 'grid->end();' although it's redundant in this specific example.
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/grid-simple.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/grid-simple.cxx b/examples/grid-simple.cxx index f08a5957b..5641f840c 100644 --- a/examples/grid-simple.cxx +++ b/examples/grid-simple.cxx @@ -41,6 +41,7 @@ int main(int argc, char **argv) { grid->widget(b4, 2, 0); grid->widget(b6, 2, 2); // grid->show_grid(1); // enable to display grid helper lines + grid->end(); win->end(); win->resizable(grid); win->size_range(300, 100); |
