diff --git a/GraphicsView/include/CGAL/Qt/Basic_viewer_qt.h b/GraphicsView/include/CGAL/Qt/Basic_viewer_qt.h index 46ab076cc7f..a3f5d85f983 100644 --- a/GraphicsView/include/CGAL/Qt/Basic_viewer_qt.h +++ b/GraphicsView/include/CGAL/Qt/Basic_viewer_qt.h @@ -54,8 +54,12 @@ #include #include +#define CGAL_BASIC_VIEWER_INIT_SIZE_X 500 +#define CGAL_BASIC_VIEWER_INIT_SIZE_Y 450 + namespace CGAL { + //------------------------------------------------------------------------------ inline CGAL::IO::Color get_random_color(CGAL::Random& random) { @@ -202,7 +206,7 @@ public: else setWindowTitle(title); - resize(500, 450); + resize(CGAL_BASIC_VIEWER_INIT_SIZE_X, CGAL_BASIC_VIEWER_INIT_SIZE_X); if (inverse_normal) { negate_all_normals(); }