This is the same problem that happens when you design a GUI application for Linux in Mac IDE (i think windows also).
The controls must be taller in Linux.
If you design it with Linux IDE you’ll see the controls are taller to avoid this problem. It comes from Realbasic times and not solved.
Depending Linux desktop’s theme (and desktop) used seems be affected in different grades. Don’t remember if you must give 7 px more (high) to these controls. Comboboxes are always affected. Try the minimum height you must increment to avoid this.
Note i’m telling this without test it in RPi, but looks the same problem that X86 Linux.
If you run Linux in a VM and you design the app there, then you’ll have the right components sizes for Linux (yes, the Linux IDE takes care of this). You can add a button, check the high properties and set that to the example. You’ll see then the buttons are complete in the RPi (Or Linux) GUI.
[quote=399893:@Pedro Ivan Tellez Corella]Just acept the facts. Xojo it is doing a terrible job with the default, optimized font size and font and font size, even the default control size.
You have to make your controls bigger. And watch unsolved bugs, Combo box with large texts, Fontsize on texboxes, etc[/quote]
When you develop on a Mac, dragging a control from the Library gets you controls that are the right size for Mac. Same goes for Windows and for Linux. Until we have an autolayout engine for desktop apps theres not much we can do about that.
FWIW, generally controls have the following heights:
This might be the right place to mention this (for Donald’s benefit).
BEWARE GROUP BOX!
Buttons placed inside a GroupBox ‘shift’ their click-area upwards about 1/2 of the control height. So if you can normally click anywhere inside a buttons bounds and register a down event, this event target area shifts to a position far above the button when placed in a GroupBox. So if you group a couple buttons on top of one another in the GUI and those buttons are in a GroupBox, you may accidentally register clicks on the wrong buttons.
an application i have that is built for MAC Pi and win uses a method “SetPlatformSpecific” that changes the text sizes for several controls, the default sizes on each platform is not the same, there is a recent post about this subject that gives more information as to the platform standard pixel sizes for each.