Forum > Designer

Same project and two Pcs

<< < (2/4) > >>

caiov1n1c1us:
Sorry I forgot to say that I'm using a widescreen resolution and he's using 4k resolution.

wp:

--- Quote from: caiov1n1c1us on April 22, 2024, 02:57:04 pm ---Sorry I forgot to say that I'm using a widescreen resolution and he's using 4k resolution.

--- End quote ---
The relevant parameter is the pixels-per-inch (ppi) or percentage setting (relative to old-fashioned "normal" 96ppi): Right-click on desktop > Display settings > Scaling

caiov1n1c1us:
Installed anchordocking on my lazarus and now my project looks the same as my dad.

So I've found the problem but not exactly the solution. I'll use the docked version and I'll build the project from zero.

Thanks guys!

caiov1n1c1us:
Now I've found the real problem!

When I open the project in a docked version the Form's Left position changes to -2229. Changed to 0 and everything went back to normal.
Thanks Lasken for the insight.

Thanks!

wp:
Strange. Your first post looks as if the contents of the form have moved out of the form at design-time. But from all I know about the docked-formeditor I would expect the form to be correct at designtime, and to disappear at runtime in case of out-of-screen Left/Top coordinates.

This looks to me like a bug of the docked-formeditor. Now that you can reproduce the issue, can you prepare a small demo project which could be used for digging deeper? Just a simple form with one of two controls on it. Pack the .pas, .lfm, .lpi and .lpr files into a common .zip and upload it here under "Attachments and other options".

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version