Project layout

Karl Ramberg karl.ramberg at chello.se
Wed Feb 14 20:30:45 UTC 2001



Bob Arning wrote:
> 
> On Wed, 14 Feb 2001 20:10:15 +0100 Karl Ramberg <karl.ramberg at chello.se> wrote:
> >When a project is loaded in a different size that it was created
> >it often crops stuff off or leave stuff in the upper left corner
> >depending on size of the user screen. Is there a way to
> >layout the project so it scales resonably on diffrent screen sizes?
> 
> You could do something simple such as figuring out the ratio of your screen size to the publisher's screen size and changing the position of all the top-level morphs in the world by that factor. The trickier question would be "How *would* the publisher laid this out if his screen were the same size as mine?" the answer might be the above - simply moving things closer together or farther apart, but it might also mean changing the sizes of certain morphs or even changing their relative layouts. If want to try an experiment you could load projects from BSS (many laid out for 1024x768, but some of the CD projects were tailored for 800x600) and see if simply scaling their positions up or down was esthetically pleasing. A useful tool might be a little control (sort of like the yellow halo) that would do this repositioning. That migh be useful in a variety of situations.
> 
> Cheers,
> Bob

Is it possible to use the recently added layout stuff within the 
World. And then say this guy should be 5% from the edge and this one
245 pixels down from that ? So one could do things like one do in 
html tables/ frames, just hopefully better;-)
The times I'v done web layout this is one of the big problems, the users screen
size is never known. So one have to start with the worst case scenario
and cross fingers. The way director/ shockwave/ flash(?) do this is 
to have a fixed stage size. This is usually set to 640x480 for cd-rom ,
and smaller for
web stuff. Then the area around is filled with black, depending on users
screen size.
On web it's filled with adds:-)
This is usefull for some stuff, but other projects could scale to the 
screen size on loading/ opening and have their content scale or not on
creators demand.
Some options like these in the project/authoring tools/playfield
settings would be nice ;-)


Karl





More information about the Squeak-dev mailing list