[ENH] Component initial pin locations
Helge Horch
Helge.Horch at munich.netsurf.de
Sun Jan 23 16:03:35 UTC 2000
And the Components saga continues...
If you're working with flop-out scrollbars, some initial pin locations of
the given components (Print, Text, List, Function) are a bit hard to reach.
I took the liberty of arranging them so that none were on the left side
anymore, so it's easier to drag them around.
Simple changeset attached. For the "magic" behind Pin locations, see
PinMorph>>placeFromSpec. Basically, the whole part of the number determines
the side (1=left, 2=bottom, 3=right, 4=top). The fraction part is not hard
to guess.
Have fun,
Helge
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ComponentPinLocs.1.cs
Type: application/octet-stream
Size: 2054 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20000123/be9042d8/ComponentPinLocs.1.obj
More information about the Squeak-dev
mailing list
|