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"!
Thank you for your report. I have transferred your report to Squeak's Mantis Database and you can followup on the issue if desired by going to http://bugs.impara.de/view.php?id=1132 .
In the future please report new issues on Squeak's Mantis Database at http://bugs.impara.de/ .
Thanks!
Ken
On Mon, 2005-04-25 at 21:07 +0200, karl.ramberg@chello.se wrote:
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"!
squeak-dev@lists.squeakfoundation.org