Page 1 of 1

Gambas3 view 5" 800x480 Display Problem

Posted: Wednesday 14th June 2017 12:32am
by sony
Hallo,
I has been install the latest version of gambas3 and run in raspberry pi 3 with 5" HDMI LCD Touch screen display but after run gambas3 program look not proportional size of gambas3 windows (too big). In first run gambas3 has "Tip of the day" and unfortunately I can not seen the "Close" button in this view so I can't close this screen.
Please show me the hint to solve this problem?
Thank you very much for your attention.
Regards

Sony

Re: Gambas3 view 5" 800x480 Display Problem

Posted: Wednesday 14th June 2017 9:14am
by jornmo
That resolution is very small, and I'm not sure if that is even supposed to be supported. If you've got keyboard and mouse, try holding Alt while dragging the window (normally works in any DE) so that the close button is revealed. I'd suggest you develop your app on a bigger monitor, and then deploy it on the pi when you are ready :D

Re: Gambas3 view 5" 800x480 Display Problem

Posted: Wednesday 14th June 2017 1:41pm
by cogier
The [Alt] + [Drag] trick of Jornmo's works for me, you can also close the 'Tip of the day' window with [Alt]+[F4].

I sometimes find when I open a project the window does not fit the screen. I use [Alt]+[F7] which allows me to move the window with the arrow keys or mouse (press [Enter] to stop it!). Then I maximize the window again and it all fits.

Having said all that my Raspberry pi screen is 10 inch 1024 x 768 so you may have issues with such a low resolution. I have had a look but I can't find any Gambas information on this.

I hope this helps and welcome to Gambas.One

Re: Gambas3 view 5" 800x480 Display Problem

Posted: Thursday 15th June 2017 1:47am
by sony
I use [Alt] + [Drag] the appearance still same
Image
The quit button not seen

Re: Gambas3 view 5" 800x480 Display Problem

Posted: Thursday 15th June 2017 9:55am
by stevedee
sony wrote: Thursday 15th June 2017 1:47am I use [Alt] + [Drag] the appearance still same...
I have a Tontec 7 inch display on one of my Raspberry Pi systems. Here are some comments;

It is difficult to tell from your screen shot, but I don't think your desktop is completely filling the available display. You should be able to fix this by editing: /boot/config.txt (as root)
...and removing the hash (i.e. uncomment) the line:-

#disable_overscan=1

...then reboot your Pi.

Although the window for the initial Gambas screen ("new project...", "open project..." & so on) can be resized, the graphics and components will not rescale within the window. So your illustration shows a cropped dialog. You need to select an edge of the dialog, then "left-click & drag" to make it bigger (don't just click on Maximize as you then wont have control, the window must not be maximized). Keep stretching the dialog and then moving the dialog with "<alt> left-click drag" combination. You can then expose any area of the dialog, one small piece at a time.

Do the same for the Open Project > Select a Project dialog. This dialog also responds to double-clicking the top bar (alternates between maximized and restore).

You can also play around with /home/{user}/.config/gambas3/gambas3.conf values, although I haven't found these to be that useful.

Although I sometimes do edits and debug directly on my Tontec system, if I have a lot to do, I remote in using VNC which gives me a nice large laptop screen to work on. Pi programs that use the GPIO can't easily be developed on other devices (like an x64 laptop) so using VNC is a reasonable compromise.

Maybe my notes here will help: https://captainbodgit.blogspot.co.uk/20 ... rrypi.html

Re: Gambas3 view 5" 800x480 Display Problem

Posted: Thursday 15th June 2017 2:32pm
by didier18
Hello

It is also possible to control the RPI by another PC using "Teamviewer".
An excellent tutorial on how to do on the link here.
When writing this message, the Teamviewer version 11 is installed on the RPI. The control is carried out from the master PC equipped with the version Teamviewer 12, no problem of control (backward compatibility is ensured).

Have a good day.