code: def OnSize(self, event):
      self.offset = 0
      self.adjust_scroll()
      event.Skip()
  
imports: import wx
  import wx.lib.masked
  from cellprofiler_core.constants.measurement import C_FRAME
  from cellprofiler_core.constants.measurement import C_METADATA
  from cellprofiler_core.constants.measurement import C_SERIES
  from cellprofiler_core.constants.measurement import IMAGE
  from cellprofiler_core.preferences import get_primary_outline_color
label_desc: Use image node_id 17 for calling the MetadataControl obj's underlying member method code with example usage: obj.OnSize(event) without return types