<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Is there a way to fix the size of an OutlineBox? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Is-there-a-way-to-fix-the-size-of-an-OutlineBox/m-p/688073#M87369</link>
    <description>&lt;P&gt;I think you want to fix the size of table box, not outlinebox&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1);

dt = Open("$SAMPLE_DATA/Probe.jmp");

bb = dt &amp;lt;&amp;lt; get as report;
// we need to modify the table box, not borderbox
(bb &amp;lt;&amp;lt; child) &amp;lt;&amp;lt; Set Scrollable(20, 5); // rows, columns

dt = New Window("test",
	Outline Box("Table",
		bb
	);
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_0-1697560470950.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/57726iFD14A6D2DDC9F70E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_0-1697560470950.png" alt="jthi_0-1697560470950.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 17 Oct 2023 16:34:38 GMT</pubDate>
    <dc:creator>jthi</dc:creator>
    <dc:date>2023-10-17T16:34:38Z</dc:date>
    <item>
      <title>Is there a way to fix the size of an OutlineBox?</title>
      <link>https://community.jmp.com/t5/Discussions/Is-there-a-way-to-fix-the-size-of-an-OutlineBox/m-p/688062#M87368</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; I have a script that pulls a data table and brings it into a window using the command dt&amp;lt;&amp;lt;Get As Report. This table has many columns and many rows. Unfortunately, it shows up in the window like this, it's really large and I don't want it to be this size:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SDF1_0-1697559297513.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/57723iDBFEBE971EA2DBAF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SDF1_0-1697559297513.png" alt="SDF1_0-1697559297513.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Instead, I'd like to resize it automatically, to something more like this:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SDF1_2-1697559359435.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/57725iF5F8185CA610DB22/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SDF1_2-1697559359435.png" alt="SDF1_2-1697559359435.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; I found a thread &lt;A href="https://community.jmp.com/t5/Discussions/How-to-control-size-of-Text-Box-Border-Box-or-Outline-Box/td-p/356200" target="_self"&gt;here&lt;/A&gt; that is very similar to what I'm looking for, but not quite. I've tried sending commands like &amp;lt;&amp;lt;Set Max Size() or similar to the object that is the dt as a report, but then I don't get anything in my report window. I tried creating a Border Box(), but that doesn't work either.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Any ideas/suggestions are much appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!,&lt;/P&gt;&lt;P&gt;DS&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Oct 2023 16:20:38 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Is-there-a-way-to-fix-the-size-of-an-OutlineBox/m-p/688062#M87368</guid>
      <dc:creator>SDF1</dc:creator>
      <dc:date>2023-10-17T16:20:38Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to fix the size of an OutlineBox?</title>
      <link>https://community.jmp.com/t5/Discussions/Is-there-a-way-to-fix-the-size-of-an-OutlineBox/m-p/688073#M87369</link>
      <description>&lt;P&gt;I think you want to fix the size of table box, not outlinebox&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1);

dt = Open("$SAMPLE_DATA/Probe.jmp");

bb = dt &amp;lt;&amp;lt; get as report;
// we need to modify the table box, not borderbox
(bb &amp;lt;&amp;lt; child) &amp;lt;&amp;lt; Set Scrollable(20, 5); // rows, columns

dt = New Window("test",
	Outline Box("Table",
		bb
	);
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_0-1697560470950.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/57726iFD14A6D2DDC9F70E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_0-1697560470950.png" alt="jthi_0-1697560470950.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Oct 2023 16:34:38 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Is-there-a-way-to-fix-the-size-of-an-OutlineBox/m-p/688073#M87369</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2023-10-17T16:34:38Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to fix the size of an OutlineBox?</title>
      <link>https://community.jmp.com/t5/Discussions/Is-there-a-way-to-fix-the-size-of-an-OutlineBox/m-p/688115#M87377</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/14366"&gt;@jthi&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Thanks for the quick response and solution. Yes, it was actually the table box I wanted to fix the size of, but nothing I had tried worked, so I thought maybe it was the OutlineBox. Anyway, great solution, thank you!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;DS&lt;/P&gt;</description>
      <pubDate>Tue, 17 Oct 2023 17:57:18 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Is-there-a-way-to-fix-the-size-of-an-OutlineBox/m-p/688115#M87377</guid>
      <dc:creator>SDF1</dc:creator>
      <dc:date>2023-10-17T17:57:18Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to fix the size of an OutlineBox?</title>
      <link>https://community.jmp.com/t5/Discussions/Is-there-a-way-to-fix-the-size-of-an-OutlineBox/m-p/688512#M87421</link>
      <description>&lt;P&gt;One thing you might want to change is to change the reference to table box from&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;(bb &amp;lt;&amp;lt; child)&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;to something like&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;bb[Table Box(1)]&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;as it might be more robust option (when building something like this, usually it is a good idea to almost always explore either properties or XML)&lt;/P&gt;</description>
      <pubDate>Wed, 18 Oct 2023 17:12:30 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Is-there-a-way-to-fix-the-size-of-an-OutlineBox/m-p/688512#M87421</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2023-10-18T17:12:30Z</dc:date>
    </item>
  </channel>
</rss>

