Re: Fixed size TPad/TCanvas

From: Laurent Aphecetche (aphecetc@in2p3.fr)
Date: Wed Jul 21 1999 - 12:44:28 MEST


Fons Rademakers wrote:
> 
> Hi Laurent,
> 
>    in that case make sure the embedded canvas widget does not get
> resized when changing the size of the main frame. This can be done using
> the correct TGLayoutHints (e.g. don't specify the options kLHintsExpandX
> and kLHintsExpandY).
> 

Hi Fons,

Problem is not really with the embedded canvas, but with the pads I put
in it. Those ones
 I don't know how to prevent user from resizing them with the mouse.
 It seems that none of the Valery's proposals apply to TPad, and
TCanvas::SetEditable seems to have
 no effect at all on the resizing capability.

Any hints ?

-- 
APHECETCHE Laurent (mailto:aphecetc@in2p3.fr) | TAPS/PHENIX/ALICE
SUBATECH-Ecole des Mines de Nantes-4 rue Alfred Kastler-44070 NANTES
cedex 03
TEL (+33/0) 2 51 85 84 17 - FAX (+33/0) 2 51 85 84 24
WWW: http://www-subatech.in2p3.fr/~photons



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:36 MET