[REBOL] Re: [VID] resizing areas
From: mattsmac:hotma:il at: 23-Jan-2004 17:24
That doesn't work for some reason. That line 'content/lines: none'
generates the following error
** Script Error: Invalid path value: lines
** Where: resize-areas
** Near: content/lines: none
** Press enter to quit...
Maybe it's the version?? I'm using View/Pro if that makes a difference.
You don't have to do all this.
The problem is that you have to set content/lines to none. This facet hold
some values used by the View engine to know where to cut the text (a sort of
right margin indexes).
So you just have to do this :
>Ok, I thought I had this working.
>I have a layout with an area in it. I want to resize the area. Let's call
>the area 'content'. So I set
>Then I want to reform the text in the area to fit it's new size. So I do
>tmp: copy content/text
>content/text: copy tmp
>But after all that the text fills the same amount of space it did before.
>This means that it either is not using the full width of the area if the
>area gets bigger, or it overflows the area if the area got smaller. What
>am I doing wrong?
There are now three new levels of MSN Hotmail Extra Storage! Learn more.