Good day, everyone. I am looking to improve the appearance and usability on my script on my Android phone. I added tabs to my script and now it does funky resizing things. The content of the GUi is now smaller than the screen and scrolls bas appear on the side. These scrollbnars are tiny and near impossible to use on a touchscreen. Even if one does manage to move them the contents start to draw on top of  one another. Is this just a fact of ithe interpreter being an alpha release and Android being an oddity or are there things I can do to improve the situation? Thanks.
Rebol []
;   Do %r3-gui.r3
;   Do %requestors.r3
; gui-metric/set 'unit-size (gui-metric 'screen-dpi) / 72
This should help.

yoffset: Thank you. I saw references to gui-metric before but my use of it did nothing so I theorized that it was an outdated document and kind of forgot about it. I tried it just now and while it did not fix the issue it did help. The script still behaves oddly in terms of sizing, but no elements are on top of each other, etc. 72 did not work for me, but I found a number that did. The GUI still draws itself limited to an area in the middle of the screen, but turning the phone to landscape orientation and then back to portrait causes Rebol to redraw the GUI and it then comes close to filling the screen. I can swip to the left and see all of the GUI width wise. Scrollbars appear and I can with difficulty use them to scroll down to the bottom of the GUI.  Anyone know how to increase the size of the scrollbars? Also, my tabs are pretty small and not displaying their entire label. Any suggestions for these two small things?

I tried to run R3-GUI today on the most recent version of R3 from Atronix, and it errored out. Any idea why?
>> about
**                                                                      **
**  REBOL 3.0                                                           **
**                                                                      **
**    Copyright: 2012 REBOL Technologies                                **
**               All rights reserved.                                   **
**    Website:                                          **
**                                                                      **
**    Version:                                            **
**    Platform:  Linux libc6-arm                                        **
**    Build:     9-Mar-2015/14:12:38                                    **
**                                                                      **
**    Language:  English                                                **
**    Locale:    United States                                          **
**    Home:      /var/www/                                              **
**                                                                      **
>> layout [title "Test"]
** Math error: math or number overflow
** Where: + either repeat do update-panel actor all foreach do-actor case repeat do update-panel actor all foreach do-actor either make-window-layout layout
** Near: + max-heights/:i
The same thing happens with 'view
OK. It was my fault. I was trying to run view from an SSH session expecting that the output would show up on the main desktop. It didn't and had the error instead.
Is there a way to attach the output of R3's View component to a different desktop on Ubuntu?
I'm trying to do some things with R3-GUI that were simple in R2 VID. For instance, how do I do a 'view/new where it returns control to the script after displaying the layout?

Bo, you want "ssh -X"
or, "export DISPLAY=:0" if you want it to appear on the local display rather than your remote one
(the latter you type *after* logging in via SSH)

NickA and Gabriele: Thanks a lot! It's amazing how much knowledge you all have. :-)

Next thing I want to try is to resize an image in R3-GUI. I'm trying the following which isn't working:
view/no-wait/options [
    box 240x320 black
    y: image %img/eye1.gif 20x20 with [facets: [max-size: 20x20 min-size: 20x20]]
    z: image %img/eye1.gif 20x20
][offset: 0x0 flags: [no-title on-top]]
It is displaying the image in full size.
In VID, we used to be able to do this:
view/new layout/size [
    background black
    y: image %img/eye1.gif 20x20 effect ['fit]
] 240x320
Things seem much harder in R3-GUI.

I am doing some tests with Saphirion's R3-GUI (as I cannot figure out how to run Carl's GUI). What's wrong with this code:
>> view [b: button "hello"]
** Script error: layout word is not bound to a context
** Where: if view
** Near: if block? window [
Ok, got it:
>> load-gui
Fetching GUI...
>> view [button "hello"]
== make gob! [offset: 890x562 size: 140x34 alpha: 255 text: "REBOL: untitled"]
Where does `load-gui` store the loaded code? I can't find it in system/view and system/view/VID seems to be gone in R3...
Carl's GUI is different. Not sure it will work with Saphir's code?
If I say that I'm lost in the R3 GUIs ecosystem, I guess it would feel familiar to others. ;-)
Actually, I just wanted to have a look at how R3 implements a style, especially how actors are stored. In Carl's docs, they seemed to be stored in a block, I just wanted to check in the code if that was the case for real or not.
>> source load-gui
load-gui: make function! [[
    "Download current GUI module from web. (Temporary)"
    /local data
    print "Fetching GUI..."
    either error? data: try [load] [
        either data/id = 'protocol [print "Cannot load GUI from web."] [do err]
    ] [
        do data

Last message posted 73 weeks ago.