[REBOL] Re: How to's
From: ammonjohnson:yah:oo at: 24-Oct-2001 22:46
Just to make both faces the same size. The default size of a face is, well
let's see:
>> probe make face []
make object! [
type: 'face
offset: 0x0
size: 100x100
span: none
pane: none
text: none
color: 142.128.110
image: none
effect: none
data: none
edge:
make object! [
color: 200.200.200
image: none
effect: none
size: 2x2
]
font:
make object! [
name: "arial"
style: none
size: 12
color: 0.0.0
offset: 2x2
space: 0x0
align: 'center
valign: 'center
shadow: none
]
para:
make object! [
origin: 2x2
margin: 2x2
indent: 0x0
tabs: 40
wrap?: true
scroll: 0x0
]
feel:
make object! [
redraw: none
detect: none
over: none
engage: none
]
saved-area: none
rate: none
show?: true
options: none
parent-face: none
old-offset: none
old-size: none
line-list: none
changes: none
face-flags: 0
action: none
]
looks like it is 100x100
. just remove the size part of the pane, see what happens. The best way to
learn REBOL is to code REBOL, so if you have a question, first try it, then
ask. ;) You may find that you actually understand it better. ;) (just a
suggestion in case you didn't try it first)
Enjoy!!
Ammon