Calling self.Layout() after changing the static text fixes text going outside the box. Needs to be checked on Linux and Windows.
Calling self.Layout() after changing the static text fixes text going outside the box. Needs to be checked on Linux and Windows.