Login Page - Create Account

Support Board


Date/Time: Sat, 05 Jul 2025 05:26:04 +0000



Post From: May I have an example study for setting sc.AutoScalePaddingPercentage?

[2020-06-02 23:12:35]
User497913 - Posts: 6
I have tried to set this in my study but it does not do anything. Below is the code
  if (sc.MenuEventID == ACS_BUTTON_2)
  {
    const int ButtonState = (sc.PointerEventType == SC_ACS_BUTTON_ON) ? 1 : 0;
    if (ButtonState == 1)
    {
      sc.SetCustomStudyControlBarButtonEnable(ACS_BUTTON_2, 0);
      sc.AutoScalePaddingPercentage = -0.08f;
    }
  }
I am not looking for programming help. I think this variable does not work as described.
Can you give an example study like those in Studies.cpp? Thanks.