1) Create a new form with default size (W 600 x H 400).
2) Create a gadget on the form. It doesn't appear to matter what type, I tried a button, editor and date.
3) Via the properties pane set the gadget's X to 20, Y to 20, W to 200 and H to 200.
4) Now switch to Code View. I see different values in the open procedure parameter list and in the gadget dimensions:
Code: Select all
Procedure OpenWindow_0(x = 0, y = 0, width = 480, height = 320)
Window_0 = OpenWindow(#PB_Any, x, y, width, height, "", #PB_Window_SystemMenu)
Date_0 = DateGadget(#PB_Any, 16, 16, 160, 160, "")
EndProcedure
6) Open in a text editor outside of the IDE. I see the same values from the code listing.
7) Reopen the file and check the properties in the properties pane. I see them back to normal again.
I've tried 6.02, 6.11, 6.20 and 6.21 (x64) on Windows 11 and am seeing the same behaviour in all of them.
Can anyone else confirm/deny?