Re: [Lazarus] Control embedded in statusbar strange resizing behaviour

2010-12-08 Thread Birger Jansen
> Maybe. See also http://bugs.freepascal.org/view.php?id=15675 > > Vincent It could be related. The solution that is proposed in that report only makes it worse: the progressbar is not visible at all after adding ProgressBar1.Anchors := [];. Birger -- _

Re: [Lazarus] Control embedded in statusbar strange resizing behaviour

2010-12-08 Thread Vincent Snijders
2010/12/8 Birger Jansen : > Hi all, > > I encounter a strange behaviour with controls that are placed inside a > statusbar. Take the following steps to reproduce: > >  - create a new application with a form >  - add a statusbar >  - add a progressbar >  - add this to the OnCreate event of the form

[Lazarus] Control embedded in statusbar strange resizing behaviour

2010-12-08 Thread Birger Jansen
Hi all, I encounter a strange behaviour with controls that are placed inside a statusbar. Take the following steps to reproduce: - create a new application with a form - add a statusbar - add a progressbar - add this to the OnCreate event of the form: procedure TForm1.FormCreate(Sender: