Form size property returns different values

Hi everyone,

I’m experiencing some unexpected behavior when resizing a form in Pega Robotics Studio 25.1.19.

As shown in image 1, the form’s Size property is set to 397, 278.

However, when I run an automation and retrieve the form’s Size property, it returns 460, 315 instead (image 2).

If I then set the form’s Size property to 397, 278 while the automation is running, the UI becomes smaller than it was originally.

Has anyone encountered this behavior before or knows what might be causing it?

Any insights would be appreciated.

Hi @RobinT51

Switch the Form View to Advanced and set the AutoScaleMode property to NONE. Check if this fixes your problem.

This is the solution.

Thanks Ranjith!