[VID] resizing areas
[1/6] from: mattsmac::hotmail::com at: 23-Jan-2004 16:21
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
_________________________________________________________________
Find high-speed =91net deals =97 comparison-shop your local providers here.
[2/6] from: didec:tiscali at: 23-Jan-2004 23:08
Re: [VID] resizing areas
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
[3/6] 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
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
<<quoted lines omitted: 12>>
>am I doing wrong?
>Matt
_________________________________________________________________
There are now three new levels of MSN Hotmail Extra Storage! Learn more.
http://join.msn.com/?pgmarket=en-us&page=hotmail/es2&ST=1
[4/6] from: mattsmac:hotma:il at: 23-Jan-2004 17:28
I figured it out, it is content/line-list: none, at least in this version
_________________________________________________________________
Scope out the new MSN Plus Internet Software =97 optimizes dial-up to the max!
http://join.msn.com/?pgmarket=en-us&page=byoa/plus&ST=1
[5/6] from: petr:krenzelok:trz:cz at: 23-Jan-2004 23:33
Dide wrote:
>Re: [VID] resizing areas
>Hi,
<<quoted lines omitted: 5>>
> show content
>DideC
really usefull hint! ... should be remembered and put into FAQ or View
docs ... right Maxim? :-)
-pekr-
[6/6] from: didec:tiscali at: 24-Jan-2004 0:16
Re: [VID] resizing areas
Oh, yes sorry, Its LINE-LIST not LINES.
You have to do this also if you change the text in the area, the font size, style or
name...
In fact, all changes that can result in a modification of the text rendering.
DideC
Notes
- Quoted lines have been omitted from some messages.
View the message alone to see the lines that have been omitted