docstr: Set the 'target' size for this Dock.
  The actual size will be determined by comparing this Dock's
  stretch value to the rest of the docks it shares space with.
docstr_tok: ["Set","the","'target","'","size","for","this","Dock",".","The","actual","size","will","be","determined","by","comparing","this","Dock's","stretch","value","to","the","rest","of","the","docks","it","shares","space","with","."]
code: def setStretch(self, x=None, y=None):
      """
      Set the 'target' size for this Dock.
      The actual size will be determined by comparing this Dock's
      stretch value to the rest of the docks it shares space with.
      """
      if x is None:
          x = 0
      if y is None:
          y = 0
      self._stretch = (x, y)
      self.sigStretchChanged.emit()
  
imports: import warnings
  from ..Qt import QtCore, QtGui, QtWidgets
  from ..widgets.VerticalLabel import VerticalLabel
  from .DockDrop import DockDrop
label_desc: Use image node_id 3 for calling the Dock obj's underlying member method code with example usage: obj.setStretch(x, y) without return types