Re: [Lazarus] Anchoring with negative values

2008-05-24 Thread Mattias Gaertner
On Sat, 24 May 2008 00:26:51 +0300 Valdas Jankūnas [EMAIL PROTECTED] wrote: Mattias Gaertner rašė: Why Border size in BorderSpacing is restricted to only positive values? To avoid overlapping. If you want an image with a border, why not put the TImage into a TPanel or

Re: [Lazarus] Anchoring with negative values

2008-05-24 Thread Valdas Jankūnas
Mattias Gaertner rašė: If i place TImage (AutoSize=True) into Panel then which settings in OI i must change to let TPanel always accommodate TImage size? AutoSize=true How simple! :) Thanks -- Valdas Jankūnas ___ Lazarus mailing list

Re: [Lazarus] Anchoring with negative values

2008-05-23 Thread Valdas Jankūnas
Mattias Gaertner rašė: Why Border size in BorderSpacing is restricted to only positive values? To avoid overlapping. If you want an image with a border, why not put the TImage into a TPanel or TGroupBox? I always try avoid use of TWinControl where i can (because of additional