[ENH] SFGridLayout

karl.ramberg at chello.se karl.ramberg at chello.se
Mon Apr 25 19:07:45 UTC 2005


from preamble:

"Change Set:		SGGridLayout
Date:			25 April 2005
Author:			Alain ?

Hi all,

This small changeset is for people who want to build a resizable UI, it
has
been tested in 3.6 and 3.7.

There is a SFGridLayout class that resize its submorphs according to
their
properties.
The grid properties has a size (initial, min, max) for each column and
row,
then each morph is given a position in the grid (in grid units) and a
size
(also in grid units, ie the number of columns and rows for width and
height).
See SFGridLayout class method example1.
Some enhancements could be done (insets).

There is also a (very simple) SFTextField class that is some kind of
entry
field ... :-o... for people who got strange text morph editors and
layouts
behaviors going/wrapping/editing reverse sometime, when resized or when
it
is not the time...

This is still unfinished but could give somebody a start.

Enjoy.
Ideas & comment are welcome.

Q: is there a better place to put this kind of thing , on swiki or
squeakmap
or is it ok here?

Alain"!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: SFGridLayout.cs.gz
Type: application/octet-stream
Size: 6361 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20050425/cd3b16b5/SFGridLayout.cs.obj


More information about the Squeak-dev mailing list