On Wed, 5 Dec 2012, Graeme Geldenhuys wrote:
On 2012-12-05 14:33, Graeme Geldenhuys wrote:
See attached screenshot showing the clipping and resize issues.
More notes…
* image size: It seems the ImageList doesn't auto-detect the size of
the images I added, and I added them all at once using multi-select.
This is a consequence of the below. You must first set the width and height,
then the individual images will be cropped to that width and height.
* image size: I took a chance and set the ImageList.Width & .Height
properties. At first glance I thought that was just the width
and height of the TImageList component (eg: like found in TLabel or
TButton), but apparently that controls the image sizes. Better
property names would probably have been ImageWidth and ImageHeight.
These names are dictated by Delphi compatibility.
* Looking at the screenshot I sent, Toolbar.Transparent = False, yet
the Toolbar seems transparent, because the the TForm.Color =
clMoneyGreen. You see the green color in the designer and at runtime.
Changing the Toolbar.Transparent property makes no difference.
Maybe GTK/Qt doesn't support that ?
Michael.
--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus