summaryrefslogtreecommitdiff
path: root/test/unittests.cxx
diff options
context:
space:
mode:
authorMatthias Melcher <github@matthiasm.com>2022-11-30 22:40:52 +0100
committerGitHub <noreply@github.com>2022-11-30 22:40:52 +0100
commitbf825f8ebd18615fdbecb449c14300105d469a24 (patch)
tree2e9c3f075b124347eea974c9b429c06d5f29df78 /test/unittests.cxx
parentbc3bbb7ca028db377ec4b2acbe74d8f2c8a5c149 (diff)
Add a unit test for drawing complex shapes (#565)
Diffstat (limited to 'test/unittests.cxx')
-rw-r--r--test/unittests.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/unittests.cxx b/test/unittests.cxx
index a4e231f06..c7f36fc6a 100644
--- a/test/unittests.cxx
+++ b/test/unittests.cxx
@@ -140,6 +140,7 @@ int main(int argc, char **argv) {
Fl::visual(FL_RGB);
Fl::use_high_res_GL(1);
mainwin = new MainWindow(MAINWIN_W, MAINWIN_H, "FLTK Unit Tests");
+ mainwin->size_range(MAINWIN_W, MAINWIN_H);
browser = new Fl_Hold_Browser(BROWSER_X, BROWSER_Y, BROWSER_W, BROWSER_H, "Unit Tests");
browser->align(FL_ALIGN_TOP|FL_ALIGN_LEFT);
browser->when(FL_WHEN_CHANGED);