[Lazarus] Form resize to standard size in IDE.

zeljko zeljko at holobit.net
Sun May 7 19:40:38 CEST 2017


On 05/07/2017 06:24 PM, Michael Van Canneyt wrote:
>
>
> On Sun, 7 May 2017, zeljko wrote:
>
>>>>
>>>> If you suspect on HiDPI then you should disable scaling at application
>>>> level (lazaruside) via Application.Scaled := False (or similar prop
>>>> name) . In that case TCustomForm.Scaled should not be taken into
>>>> account in any case.
>>>
>>> Is there a command-line option for the IDE to disable this ? It seems
>>> silly to me that I would have to modify the IDE sources every time I do
>>> a SVN update?
>>
>> AFAIK not.
>>
>>>
>>>> Second thing: I assume that you're using Gtk2 ide. What is
>>>> windowmanager ? Does it run compositing ?
>>>
>>> I don't know. I use a standard Linux Mint using Cinnamon desktop.
>>
>> Then compositing is on, and that's probably cause of problems.
>
> Can you explain why this would cause problems ?

Don't know, tried to fix that inside gtk2 many times, besides that on 
some wm's + compositing sizes are ok, on some not. Really don't know.
Using qtlcl for work and don't have such problems. See gtk2wsforms.pp 
and stuff about form events ...

zeljko



More information about the Lazarus mailing list