<doc>
  <legacy_id>1276</legacy_id>
  <name>minHeight</name>
  <type>property</type>
  <syntax>
    <example>set the minHeight of <i>stack</i> to <i>pixels</i></example>
  </syntax>
  <library></library>
  <objects>
    <stack/>
  </objects>
  <synonyms>
  </synonyms>
  <classification>
    <category>Windows &amp; Dialog Boxes</category>
  </classification>
  <references>
    <property tag="height">height Property</property>
    <property tag="maxHeight">maxHeight Property</property>
    <property tag="minWidth">minWidth Property</property>
    <property tag="resizable">resizable Property</property>
    <message tag="resizeStack">resizeStack Message</message>
  </references>
  <history>
    <introduced version="1.0">Added.</introduced>
  </history>
  <platforms>
    <mac/>
    <windows/>
    <linux/>
    <ios/>
    <android/>
  </platforms>
  <classes>
    <desktop/>
    <server/>
    <web/>
    <mobile/>
  </classes>
  <security>
  </security>
  <summary>Specifies how short a <glossary tag="stack window">stack window</glossary> can be made when it's resized.</summary>
  <examples>
    <example>set the minHeight of this stack to the height of this stack</example>
  </examples>
  <description>
    <p>Use the <b>minHeight</b> <glossary tag="property">property</glossary> if you want the user to be able to resize the <glossary tag="stack window">stack window</glossary>, but no smaller than a height you choose. For example, you might want to let the user make the <object tag="stack">stack</object> smaller, but not so small that the <glossary tag="stack">stack's</glossary> navigation buttons can't be displayed.</p><p/><p><b>Value:</b></p><p>The <b>minHeight</b> of a <object tag="stack">stack</object> is a positive <keyword tag="integer">integer</keyword>.</p><p/><p>By default, the <b>minHeight</b> <glossary tag="property">property</glossary> of newly created <function tag="stacks">stacks</function> is set to 32.</p><p/><p><b>Comments:</b></p><p>The <b>minHeight</b> is the minimum height in <property tag="pixels">pixels</property>. The height does not include the window's <glossary tag="title bar">title bar</glossary> or borders.</p><p/><p>The <b>minHeight</b> <glossary tag="property">property</glossary> does not prevent a <glossary tag="handler">handler</glossary> from changing the <glossary tag="stack">stack's</glossary> <property tag="height">height</property> <glossary tag="property">property</glossary> (or related <property tag="properties">properties</property> such as the <keyword tag="rectangle">rectangle</keyword>). It affects only user actions. If you set the <glossary tag="stack">stack's</glossary> height to a value less than the <b>minHeight</b>, it is <command tag="reset">reset</command> to the <b>minHeight</b> when you close and reopen the <object tag="stack">stack</object>.</p><p/><p>If the stack's <b>resizable</b> <glossary tag="property">property</glossary> is false, the setting of this <glossary tag="property">property</glossary> has no effect.</p><p/><p><code/><img src="202652"/> <b>Cross-platform note:</b><code/> On <glossary tag="Mac OS">Mac OS</glossary> and <glossary tag="OS X">OS X systems</glossary>, if the <glossary tag="current card">current card</glossary> has a <glossary tag="menu bar">menu bar</glossary> and the <property tag="editMenus">editMenus</property> <glossary tag="property">property</glossary> is false (that is, if the <glossary tag="stack window">stack window</glossary> is scrolled up so the menubar buttons are not visible in the window), the <b>minHeight</b> does not include the height of the <glossary tag="menu bar">menu bar</glossary>. However, on <function tag="openStacks">Windows</function> and <glossary tag="Unix">Unix systems</glossary>, the <b>minHeight</b> includes the height of the <glossary tag="menu bar">menu bar</glossary>, since on these platforms the <glossary tag="menu bar">menu bar</glossary> is in the <glossary tag="stack window">stack window</glossary>. This means that if you set a <b>minHeight</b> for a <object tag="stack">stack</object> that contains a <glossary tag="menu bar">menu bar</glossary>, you may need to adjust it depending on <function tag="platform">platform</function> so that the <b>minHeight</b> on <glossary tag="Unix">Unix</glossary> and <glossary tag="Windows">Windows systems</glossary> includes the height of the <glossary tag="menu bar">menu bar</glossary>, while the <b>minHeight</b> on <glossary tag="Mac OS">Mac OS</glossary> and <glossary tag="OS X">OS X systems</glossary> does not. (The standard height of <glossary tag="menu bar">menu bars</glossary> created with the <glossary tag="Menu Builder">Menu Builder</glossary> is 21 pixels.)</p><p/><p><b>Note:</b> The current architecture uses 16-bit signed integers for all co-ordinates, which means that the value range is -32768 to 32767.</p>
  </description>
</doc>