Gambas3 view 5" 800x480 Display Problem

Post Reply
sony
Posts: 18
Joined: Wednesday 14th June 2017 12:28am

Gambas3 view 5" 800x480 Display Problem

Post by sony » Wednesday 14th June 2017 12:32am

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

User avatar
jornmo
Site Admin
Posts: 127
Joined: Wednesday 21st September 2016 1:19pm
Location: Norway

Re: Gambas3 view 5" 800x480 Display Problem

Post by jornmo » Wednesday 14th June 2017 9:14am

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

User avatar
cogier
Site Admin
Posts: 115
Joined: Wednesday 21st September 2016 2:22pm
Location: Guernsey, Channel Islands

Re: Gambas3 view 5" 800x480 Display Problem

Post by cogier » Wednesday 14th June 2017 1:41pm

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

sony
Posts: 18
Joined: Wednesday 14th June 2017 12:28am

Re: Gambas3 view 5" 800x480 Display Problem

Post by sony » Thursday 15th June 2017 1:47am

I use [Alt] + [Drag] the appearance still same
Image
The quit button not seen

stevedee
Posts: 42
Joined: Monday 20th March 2017 6:06pm

Re: Gambas3 view 5" 800x480 Display Problem

Post by stevedee » Thursday 15th June 2017 9:55am

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

didier18
Posts: 21
Joined: Monday 19th December 2016 10:08pm

Re: Gambas3 view 5" 800x480 Display Problem

Post by didier18 » Thursday 15th June 2017 2:32pm

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.

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests