Behavior in different screen - error or properties?
Behavior in different screen - error or properties?
For developing PureBasic programs I use two machines: NB with 1280x768 resolution and PC with 1920x1080 monitor resolution. In a program that uses relatively small windows (480 x 390), I noticed that longer button descriptions (which are tight when using NB) are too long for a PC. I used PureBasic 5.24 LTS (x86).
Windows 7 Professional / Service Pack 1 - 32bit, PureBasic 5.46 LTS (x86)
My mother tongue is Czech. I have a Czech version of Windows.
Who is not afraid of GOTO, the one need not afraid any things!
My mother tongue is Czech. I have a Czech version of Windows.
Who is not afraid of GOTO, the one need not afraid any things!
Re: Behavior in different screen - error or properties?
Check the Typography. Especially the used font and kerning settings.
Re: Behavior in different screen - error or properties?
Screenshots for comparison? In any case, always code your buttons and gadgets for the smallest resolution used, and allow extra space on left/right for higher resolutions.
Re: Behavior in different screen - error or properties?
Dude wrote:Screenshots for comparison?......
http://people.fsv.cvut.cz/~svobodal/NB%201366x768.jpg
First machine (notebook) - it is OK.
http://people.fsv.cvut.cz/~svobodal/PC ... 1080.jpg
http://people.fsv.cvut.cz/~svobodal/PC%201280x720.jpg
Second machine (desktop computer) - problem independent of the set resolution.
So far, I have solved this by using Tahoma instead of Arial and mainly reducing the size of the font.
Windows 7 Professional / Service Pack 1 - 32bit, PureBasic 5.46 LTS (x86)
My mother tongue is Czech. I have a Czech version of Windows.
Who is not afraid of GOTO, the one need not afraid any things!
My mother tongue is Czech. I have a Czech version of Windows.
Who is not afraid of GOTO, the one need not afraid any things!
Re: Behavior in different screen - error or properties?
See here about DPI-awareness: http://www.purebasic.fr/english/viewtop ... 12&t=70344
It's easy and will fix your text-cropping issue.
It's easy and will fix your text-cropping issue.

Re: Behavior in different screen - error or properties?
Oh!Dude wrote: It's easy and will fix your text-cropping issue.

Big thanks.
Windows 7 Professional / Service Pack 1 - 32bit, PureBasic 5.46 LTS (x86)
My mother tongue is Czech. I have a Czech version of Windows.
Who is not afraid of GOTO, the one need not afraid any things!
My mother tongue is Czech. I have a Czech version of Windows.
Who is not afraid of GOTO, the one need not afraid any things!