Hi All
I have a Lazarus application that is behaving in an odd way.
My development system is a Raspberry PI 500+ running Lazarus V4.3 and Free Pascal V3.3.1 and a 4K monitor.
I am developing a small touch screen application, the touchscreen system is also a Raspberry PI 500 (1GB) with a Waveshare 1280 X 400 touch screen.
The issue showed itself by what seemed as the right hand side of the form being cropped, the screen had a small 3 pixel wide border at the edge of the form and the right had side was missing, it looked like the form was being displayed bigger than the screen width.
I have made a simple test application which had four square shapes one in each corner, two slim shape bars one on the left and one on the right and two more on the top and bottom, all shapes are a few pixels from the edge of the form.
In the development as expected all works as expected but when the application is run on the touch screen the right hand bar is missing and the right hand boxes are smaller.
In an attempt to try and diagnose the issue I modified the test app to print out in the Form.Show all the shapes left positions and also the screen size and the form width and height.
When I run the application in development all the positions are as they were in design, however when run in the touch screen you can clearly see the left positions of the right had shapes have moved and the application height is 404 and the width is 1293.
This is despite the form's constraints being set.
I have included some screenshots to illustrate the problem.
Any ideas on what is going on.