[GOODIE] grid layout

stéphane ducasse ducasse at iam.unibe.ch
Thu Apr 15 11:47:27 UTC 2004


Hi alain

this is nice to see french on the list. You can also try the 
SqueakSource because this is a cool way to store and publish your code 
on SqueakMap and this is free and backedup

kilana.unibe.ch:8888/

stef

On 15 avr. 04, at 00:45, ALR wrote:

> 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
>
>
> <SFC.1.cs>




More information about the Squeak-dev mailing list