IDE form designer is not WSIWYG (Form size changes at runtime) lazarus / 10-Designer ---------------------------------------------------------------------- emaza · 2015-12-29 01:02 Hi I am using Lazarus 1.4.4 on a notebook with windows 10. I have set my windows screen config to 125% because I find it dificult to read at 100%. This gives me everything slightly bigger in windows and all aps and programs, including the Lazarus IDE except that the forms inside the IDE are shown at design as they would be when run at at 100%. If I set sizes and fonts at what there seems right, they will be too big at runtime in my (125%) PC and will probably be too big for those users that have their screens at 100% and like and use small texts and boxes. If I try to design them so they look right to me when run with screen at 125% It will be very dificult, for they will be too small in the IDE which ALWAYS shows them at 100%, irrespective of my screen setting. Any way to have the forms in the IDE change according to my screen configuration as everythlng does? Is this a bug? UPDATE: From further testing I see I was wrong. It is not that the form is shown at 100%. What is hapening is that no matter the screen seting, it is always smaller in the IDE and larger when the exe file runs, This did not hapen when I was using XP. (Started this topic under IDE - Editor by mistake with a difrent title. I believe it is now properly located -Sorry) ---------------------------------------------------------------------- Ñuño_Martínez · 2015-12-31 12:06 Quote from: emaza on December 29, 2015, 02:02:29 am UPDATE: From further testing I see I was wrong. It is not that the form is shown at 100%. What is hapening is that no matter the screen seting, it is always smaller in the IDE and larger when the exe file runs, This did not hapen when I was using XP. (Started this topic under IDE - Editor by mistake with a difrent title. I believe it is now properly located -Sorry) Anyway, it seems that something doesn't work as expected. I mean, sizes should be the same in design and in execution, shouldn't they? ---------------------------------------------------------------------- emaza · 2015-12-31 18:48 Right Ñuño. I would like to know if it is something I set wrong or if it is happening to all. Anybody out there designing in windows 10? ---------------------------------------------------------------------- JD · 2015-12-31 21:47 Quote from: emaza on December 31, 2015, 07:48:44 pmRight Ñuño. I would like to know if it is something I set wrong or if it is happening to all. Anybody out there designing in windows 10? I'm using Lazarus in Windows 10. I haven't noticed this problem you mentioned but if you can create a small test project, I'll gladly test it for you on my system. JD ---------------------------------------------------------------------- emaza · 2015-12-31 23:44 Many thanks JD. I set windows at 100 % and rebooted to be safe, then made a new test program, and... No problem! Went back to my original test program and... no problem!  I think that it may have been that I was changing back and forth from 100% to 125% wiithout rebooting or without restarting Lazarus or both. I will do more carefull testing and come back in a few days.. Happy New Year to all ! ---------------------------------------------------------------------- JD · 2016-01-01 11:21 Quote from: emaza on January 01, 2016, 12:44:28 amMany thanks JD. I set windows at 100 % and rebooted to be safe, then made a new test program, and... No problem! Went back to my original test program and... no problem!  I think that it may have been that I was changing back and forth from 100% to 125% wiithout rebooting or without restarting Lazarus or both. I will do more carefull testing and come back in a few days.. Happy New Year to all ! So glad it turned out fine in the end. JD ---------------------------------------------------------------------- emaza · 2016-01-03 00:18 No such luck JD, after carefull testing I can confirm that the IDE shows the forms as they will look when run at 100% irespective of screen setting. My "update" and subsequent coments were wrong. I have test program I can send but it is 8 Mb. I will try to find out how to shrink it. Would be great if there was a way to get the IDE designer to respond to the screen setting. ---------------------------------------------------------------------- emaza · 2016-01-03 03:28 Here Without the exe files 126 Kb. ---------------------------------------------------------------------- merlin352 · 2016-01-10 09:19 Hello I have a 4K -Monitor set at 175% scaling and can confirm that. Additonally the IDE itself does not scale correctly. I add some screenshots. (ups have to split them up) By ex. the settings dialog is ok, whereas the refactoring or source dialogs open partially unreadable. The iconband is not scaled at all. The properties dialog has an incorrect linespacing. Greetings ---------------------------------------------------------------------- merlin352 · 2016-01-10 09:20 2nd screenshot ---------------------------------------------------------------------- merlin352 · 2016-01-10 09:21 3,4th screenshot ---------------------------------------------------------------------- smodra · 2016-04-02 23:24 I also had this problem on Windows 10. I eventually fixed it by altering the compatibility settings on the Lazarus shortcut. Right click the shortcut - go to Compatibility and tick the box 'Disable display scaling on high DPI settings'. No issue since then. ---------------------------------------------------------------------- emaza · 2016-04-04 00:37 Thanks smodra Will try your tip. Regretfully will not be able to do it before next weekend