dolik.rce Messages: 1789 Registered: August 2008 Location: Czech Republic
Ultimate Contributor
Hi silverx,
The cause lies in the concept of "zooming". It is intended to make things look the same on systems with various settings. The layout designer internally uses the "Z" functions (e.g. LeftPosZ() etc.). If you invoked the same code yourself, using e.g. LeftPos(), you would achieve the values you expected. Read the detailed explanation in this article: http://www.ultimatepp.org/srcdoc$CtrlCore$LogPos$en-us.html