Hello everyone,
i am generateing a container with a few boxes by code for use as a legend. Works fine on all pcs i tested it on but a few of our customers complain about the container beeing to big.
Looks like this at my side:

and like this at our customers side:

First i create the container and set the following properties
cn.MoveTo 1, -45
cn.SetSize 1, 1
cn.Style = bsContainer
cn.LayoutGap = 5
cn.LayoutStyle = lsHorizontalCentered
then i add the boxes to the container:
b.Locked = True
b.PutInContainer cn
b.SetSize 120, b.bottom - b.Top
The container is positioned at -45 so it will not collide with any program generated, auto positioned boxes.
I'm using Gdi+ to draw. The customer has Windows XP installed.
Any clues?
thanks, kindly, Julian Moschüring, SIP GmbH