<?xml version='1.0' encoding="UTF-8" ?>

<sect2 id='gimp-view-shrink-wrap' lang='en;zh_CN'>
  <title lang="en">Shrink Wrap</title>
  <title lang="zh_CN">紧贴</title>
  <para lang='en'>
    This command can be accessed from an image menubar as 
    <menuchoice>
      <guimenu>View</guimenu>
      <guimenuitem>Shrink Wrap</guimenuitem>
    </menuchoice>,
    or by using the keyboard shortcut
    <keycombo>
      <keycap>Ctrl</keycap>
      <keycap>E</keycap>
    </keycombo>.
  </para>
  <para lang='en'>
    "Shrink Wrap" resizes the window so that it precisely matches
    the dimensions of the image display at the current zoom level,
    unless this would cause it to be larger than the viewable area
    of the monitor.  Note that you can make this happen
    automatically by setting the options "Resize window on zoom" and
    "Resize window on image size change" in the <link
    linkend='gimp-prefs-image-window'>Image Window</link> page of
    the Preferences dialog.  Note also that this behavior is not
    implemented by GIMP itself, but rather by the window manager, so
    it is possible that in some very broken environments it might
    not work, through no fault of GIMP's.
  </para>

  <para lang="zh_CN">
    该命令在图像窗口的
    <menuchoice>
      <guimenu>查看</guimenu>
      <guimenuitem>紧贴</guimenuitem>
    </menuchoice>，或使用快捷键
    <keycombo>
      <keycap>Ctrl</keycap>
      <keycap>E</keycap>
    </keycombo>。
  </para>
  <para lang="zh_CN">
    “紧贴”改变窗口大小使其和图像在当前缩放率下的显示尺寸准确吻合，唯一例外就是它操过了显示器的可视区域。需要注意的是，您可以在首选项对话框的<link linkend='gimp-prefs-image-window'>图像窗口</link>页中用“缩放时调整窗口大小”和“图像大小改变时调整窗口大小”选项让它自动进行。另一个要注意的是，该行为不是通过 GIMP 实现的，而是窗口管理器，所以在某些非常有问题的环境中可能无法工作，而这不是 GIMP 的错。
  </para>
</sect2>
