From 82d18e917b011ec7cf0cffdf8c06e917f95d9d25 Mon Sep 17 00:00:00 2001 From: Angus Leeming Date: Mon, 17 Sep 2001 09:16:09 +0000 Subject: [PATCH] set minimum size to the main window. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2762 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/ChangeLog | 4 ++++ src/XFormsView.C | 1 + 2 files changed, 5 insertions(+) diff --git a/src/ChangeLog b/src/ChangeLog index 1fc3c5df70..e564ca476b 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2001-09-17 Angus Leeming + + * XFormsView.C (show): set minimum size to the main window. + 2001-09-12 Jean-Marc Lasgouttes * text2.C (copySelection): diff --git a/src/XFormsView.C b/src/XFormsView.C index 8d57aa88f9..f22445be0f 100644 --- a/src/XFormsView.C +++ b/src/XFormsView.C @@ -100,6 +100,7 @@ void XFormsView::setPosition(int x, int y) void XFormsView::show(int place, int border, string const & title) { + fl_set_form_minsize(form_, form_->w, form_->h); fl_show_form(form_, place, border, title.c_str()); getLyXFunc()->initMiniBuffer(); #if FL_REVISION < 89 || (FL_REVISION == 89 && FL_FIXLEVEL < 5)