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

[REBOL] Re: Beginner's questions on REBOL/Core and REBOL/View

From: petr:krenzelok:trz:cz at: 11-Sep-2002 15:43

[A--Rozek--GMX--De] wrote:
>Good morning! > >I downloaded REBOL/View for Win98 yesterday and try to become >familiar with that scripting language now. > >Unfortunately, I run into numerous problems which take too >long to solve myself (although they might look really stupid >for a REBOL expert) > >REBOL/Core > - error messages do not locate where the problem occurred > but present a very vage description of their orgin only > How can I retrieve the number of the faulty line? >
I hope some more advanced reboller will comment here.
>REBOL/View > - how can I (horizontally) align, e.g., a text label within > a window. I tried "right", but the label was still left > aligned. I tried "font: [align: right]" but REBOL didn't > like the "right" in there (writing 'right or "right" did > not have any effect...(well, both together didn't help as > well) >
I noticed the same problem. In order to get right alignment working, your face needs to be big enough. E.g. compare following two cases: view layout [text right red blue "Right?"] view layout [text 100 right red blue "Right?"]
> - how can I "center" an image within the area, a layout has > provided? >
hmm, dunno right now ... there's 'center-face function, but it just seems to center the window: view center-face layout [image %some-image.jpg] maybe you coudl create any kind of sub-layout? Let's hope real View gurus get in here quickly to help you :-) Cheers and welcome to rebol-world :-) -pekr-