idth(int&nbsp;width,
                                  int&nbsp;measureMode)</pre>
<div class="block">Sets the intended width of the text layout while respecting the measure mode.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>width</code> - The width of the text layout</dd>
<dd><code>measureMode</code> - The mode with which to treat the given width</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>This <a href="../../../../com/facebook/fbui/textlayoutbuilder/TextLayoutB