Re: [lazarus] TImage.Autosize

2007-09-06 Thread A.J. Venter
O, i undertood you wrong. The TImage should resize, not the image inside it, since that last works: http://www.dommelstein.nl/scrap/scale.png But you want the opposite. it should be fixed in r11945 This had nothing to do with the changed graphics. Seen the code I doubt if it had

Re: [lazarus] TImage.Autosize

2007-09-06 Thread Marc Weustink
A.J. Venter wrote: O, i undertood you wrong. The TImage should resize, not the image inside it, since that last works: http://www.dommelstein.nl/scrap/scale.png But you want the opposite. it should be fixed in r11945 This had nothing to do with the changed graphics. Seen the code I

[lazarus] TImage.Autosize

2007-09-05 Thread A.J. Venter
Hi all, New error, affecting at least gtk1 AND gtk2. TImage.Autosize is being ignored. When using Timage.LoadFromFile the image does not resize regardless of the size of timage.AutoSize. Likewize timage.Picture.Canvas.StretchDraw seems not to work as advertized. Images loaded which are larger

Re: [lazarus] TImage.Autosize

2007-09-05 Thread Marc Weustink
A.J. Venter wrote: Hi all, New error, affecting at least gtk1 AND gtk2. TImage.Autosize is being ignored. When using Timage.LoadFromFile the image does not resize regardless of the size of timage.AutoSize. It does size Likewize timage.Picture.Canvas.StretchDraw seems not to work as

Re: [lazarus] TImage.Autosize

2007-09-05 Thread A.J. Venter
This is new as the code definitely worked with previous lazarus versions. Yes, ythat part got rewritten, probably a wrong compare. Is there an obvious fix somewhere ? A.J. begin:vcard fn:AJ Venter n:Venter;AJ org:Global Pact Trading Pty. Ltd.;OutKast Solutions email;internet:[EMAIL

Re: [lazarus] TImage.Autosize

2007-09-05 Thread Marc Weustink
Marc Weustink wrote: A.J. Venter wrote: This is new as the code definitely worked with previous lazarus versions. Yes, ythat part got rewritten, probably a wrong compare. Is there an obvious fix somewhere ? O, i undertood you wrong. The TImage should resize, not the image