185 days ago · Tech · hide · Fediverse post

I blogged about how and where Delphi stores the desktop settings before. Back then I described the values as percentages of “the monitor” without being precise about which monitor and exactly which area. Since then I have nailed down the details. This applies to at least Delphi 12. The “percentage” values given in the file, like this … [Main Window] Left=-25271 Top=-6205 Width=12089 Height=18462 …, are 1/10000 of the primary monitor’s work area. Not its full resolution, and not relative to the monitor the window is actually on. The work area is the screen area minus the taskbar. If your displays have different resolutions, this can be confusing, because the stored numbers are normalized to the primary monitor regardless of where the window actually lives. My setup looks like this: The main (primary) display has a resolution of 1920×1200 pixels. There is a secondary display with a resolution of 3840×2160 pixels. The high resolution display is placed to the left of my main display,…

Commenting on Bubbles has been removed. Why? If you want to talk about this post, write to the author, use the comments on their blog if it has them, or reply with a "RE:" post on your own blog. Suggestions? feedback@bubbles.town