Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[REBOL] Re: [VID] resizing areas

From: mattsmac::hotmail 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 contscrol/resize/y content/size/2 contscrol/size/2: ** Press enter to quit... Maybe it's the version?? I'm using View/Pro if that makes a difference. Matt Hi, 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 : content/size: 800x600 content/lines: none show content DideC
>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 >the following > >tmp: copy content/text >content/size: 800x600 >content/pane-size: 800x600 >clear content/text >content/text: copy tmp >show content > >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? > >Matt
_________________________________________________________________ There are now three new levels of MSN Hotmail Extra Storage! Learn more.