Re: [ROOT] Carrot - adding scroll bars to a canvas?

From: Valeriy Onuchin (Valeri.Onoutchine@cern.ch)
Date: Mon Feb 24 2003 - 10:51:44 MET


 Hi Richard,
to add scrollbars to canvas you need to modify TApacheBrowser.cxx.
Add "scrollbars=yes" statement to EmitJavaScript method (check source
in the attachment). After that recompile and reinstall Carrot. 
I'll add this possibility in the next release.

Regards. Valeriy

  ----- Original Message ----- 
  From: Dubois, Richard 
  To: Root Discussion (roottalk@root.cern.ch) 
  Sent: Saturday, February 22, 2003 1:22 AM
  Subject: [ROOT] Carrot - adding scroll bars to a canvas?


  Is it possible to create a long canvas in the browser and have scroll bars on it? It is in regular Root, with SetCanvasSize to bigger than initialized, but the scroll bars do not appear in the browser with Carrot.

   

   Or is it possible to do the equivalent somehow - embed the long canvas in a form or something that has a scroll bar?

   

  Thanks,

   

  Richard

  --

  Richard Dubois

  Stanford Linear Accelerator Center

  Stanford, CA

  650-926-3824

  650-926-8616 (FAX)

  http://www.slac.stanford.edu/~richard

   







This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:09 MET