Igor 7.08 - Position of controls in recreation macro?
rwashenfelder
NewPanel; Button button0,pos={10,10},size={40,20}
//Recreation macro created by Igor 7.06:
Window MyPanel() : Panel
PauseUpdate; Silent 1 // building window...
NewPanel /W=(150,77,450,277) as "MyPanel"
Button button0,pos={10.00,10.00},size={40.00,20.00}
EndMacro
// Recreation macro created by Igor 7.08:
Window MyPanel() : Panel
PauseUpdate; Silent 1 // building window...
NewPanel /W=(90,49.8,270,169.8) as "MyPanel"
Button botton0,pos={9.60,9.60},size={39.60,19.80}
EndMacro
This is a very small example, but I'm working with a large panel in Igor 7.08 and when I save the recreation macro, all the controls are misaligned.
Is there any explanation / work-around?
Thanks,
Rebecca
John Weeks
WaveMetrics, Inc.
support@wavemetrics.com
March 12, 2018 at 04:02 pm - Permalink
Thanks for the reply. I have a new laptop with Igor 7.08, Windows 7, and 125% scaling (like you guessed). I tried changing the display to 100% scaling, and that solved the problem with the control panel positions. I can use 100% scaling when I'm laying out panels.
- Rebecca
March 20, 2018 at 04:49 pm - Permalink
John Weeks
WaveMetrics, Inc.
support@wavemetrics.com
March 20, 2018 at 05:10 pm - Permalink