[Lazarus] toolbar and toolbutton issues

zeljko zeljko at holobit.net
Wed Dec 5 16:31:30 CET 2012


On Wednesday 05 of December 2012 16:23:35 Graeme Geldenhuys wrote:
> On 2012-12-05 14:57, zeljko wrote:
> > Afaik TImageList have width and height properties. Set them to 24 and it
> > will be ok.
> 
> Thanks. And the unfortunate consequence of that is that your ImageList
> is then cleared! Rather annoying, if you images where all from various
> locations on your hard drive, and existing components relied on exact
> image order (image index number).

Yes, I've forgot to say that you must know image sizes before importing into 
the image list :) That's bit annoying, also "stretched" property would be nice 
to have in TImageList, so if image is bigger than w & h it could be stretched 
to fit into.

zeljko




More information about the Lazarus mailing list