Calculate form maxHeight according to gvSIG main window