From b489f90586382f9993f615a5fc0805dcd5063258 Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Sat, 7 Feb 2004 01:39:37 +0000 Subject: [PATCH] fix about window position --- Fltk/GUI.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Fltk/GUI.cpp b/Fltk/GUI.cpp index 0e291371e9..a7112c477a 100644 --- a/Fltk/GUI.cpp +++ b/Fltk/GUI.cpp @@ -1,4 +1,4 @@ -// $Id: GUI.cpp,v 1.269 2004-02-07 01:28:50 geuzaine Exp $ +// $Id: GUI.cpp,v 1.270 2004-02-07 01:39:37 geuzaine Exp $ // // Copyright (C) 1997-2004 C. Geuzaine, J.-F. Remacle // @@ -3013,6 +3013,9 @@ void GUI::create_about_window() o->callback(cancel_cb, (void *)about_window); } + about_window->position(m_window->x() + m_window->w() / 2 - width / 2, + m_window->y()); + about_window->end(); } -- GitLab