<?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: How to control size of Text Box, Border Box or Outline Box? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-to-control-size-of-Text-Box-Border-Box-or-Outline-Box/m-p/356294#M60621</link>
    <description>&lt;P&gt;Yes, this is all fully documented in the Scripting Index under the category selection "Graphics"&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="graphics.PNG" style="width: 999px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/30031i342D17437AF06F44/image-size/large?v=v2&amp;amp;px=999" role="button" title="graphics.PNG" alt="graphics.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 05 Feb 2021 01:09:21 GMT</pubDate>
    <dc:creator>txnelson</dc:creator>
    <dc:date>2021-02-05T01:09:21Z</dc:date>
    <item>
      <title>How to control size of Text Box, Border Box or Outline Box?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-control-size-of-Text-Box-Border-Box-or-Outline-Box/m-p/356200#M60609</link>
      <description>&lt;P&gt;I'm having hard times trying to control size of my Display Boxes.&lt;/P&gt;&lt;P&gt;So, I have a number of reports where there is a Graph Builder of certain size.&lt;/P&gt;&lt;P&gt;For some reports there is nothing to report (missing files) and I want to place a text box saying files are missing instead of the Graph Builder.&lt;/P&gt;&lt;P&gt;I would like to match the size of it to the size of Graph Builder in other reports, and I cannot.&lt;/P&gt;&lt;P&gt;None of the messages I try work, the size only depends on Font Size of the text and partially on Padding of the boxes.&lt;/P&gt;&lt;P&gt;I have the following structure in place of the Graph Builder:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Outline Box( "Missing files",
	missingFilePlaceholderBB = Border Box( Left( 50 ), Right( 50 ), Top( 50 ), Bottom( 50 ), Sides( 15 ),
		missingFilePlaceholderTB = Text Box( "One or More of the following files could not be found: \!n" || O_file || "\!n" || N_file )
	)
)&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;What messages and to what Display Box out of these three I need to send in order to control the overall size?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 11 Jun 2023 11:10:48 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-control-size-of-Text-Box-Border-Box-or-Outline-Box/m-p/356200#M60609</guid>
      <dc:creator>miguello</dc:creator>
      <dc:date>2023-06-11T11:10:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to control size of Text Box, Border Box or Outline Box?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-control-size-of-Text-Box-Border-Box-or-Outline-Box/m-p/356206#M60610</link>
      <description>&lt;P&gt;The approach I would take, is that since you are replacing a Graph Box with a specified Frame Box size, I would create a Graph Box of the same Frame Box size with a line of text in the Graph Box that states&amp;nbsp;&lt;/P&gt;
&lt;PRE class="language-jsl"&gt;&lt;CODE&gt;"One or More of the following files could not be found: \!n" || O_file || "\!n" || N_file&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 04 Feb 2021 20:44:33 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-control-size-of-Text-Box-Border-Box-or-Outline-Box/m-p/356206#M60610</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2021-02-04T20:44:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to control size of Text Box, Border Box or Outline Box?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-control-size-of-Text-Box-Border-Box-or-Outline-Box/m-p/356211#M60611</link>
      <description>How would I set size of Graph Box then? None of the messages I'm using work on any of Display Boxes.&lt;BR /&gt;Set Size()&lt;BR /&gt;Set Height()&lt;BR /&gt;Set Width()&lt;BR /&gt;Set Max\Min Heigh\Width()&lt;BR /&gt;&lt;BR /&gt;Set Height, for instance, is working only when I go properties and set Auto Stretching to 1. But if I use &amp;lt;&amp;lt; Set AutoStretching (1) in the script - it doesn't change anything.</description>
      <pubDate>Thu, 04 Feb 2021 20:48:23 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-control-size-of-Text-Box-Border-Box-or-Outline-Box/m-p/356211#M60611</guid>
      <dc:creator>miguello</dc:creator>
      <dc:date>2021-02-04T20:48:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to control size of Text Box, Border Box or Outline Box?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-control-size-of-Text-Box-Border-Box-or-Outline-Box/m-p/356223#M60615</link>
      <description>&lt;P&gt;Here is a simple example&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );
New Window( "Example",
		gb = Graph Box(
			Frame Size( 300, 300 ),
			Text Color( "red" );
			Text( Center Justified, {40, 60}, "centered" );
		)
);

framebox = gb[Frame Box( 1 )];
framebox &amp;lt;&amp;lt; Frame Size( 500, 500 );&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Feb 2021 21:12:04 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-control-size-of-Text-Box-Border-Box-or-Outline-Box/m-p/356223#M60615</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2021-02-04T21:12:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to control size of Text Box, Border Box or Outline Box?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-control-size-of-Text-Box-Border-Box-or-Outline-Box/m-p/356268#M60617</link>
      <description>Does this text have all the customization options (like, font size, face, color, border styles etc.)?</description>
      <pubDate>Thu, 04 Feb 2021 23:06:53 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-control-size-of-Text-Box-Border-Box-or-Outline-Box/m-p/356268#M60617</guid>
      <dc:creator>miguello</dc:creator>
      <dc:date>2021-02-04T23:06:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to control size of Text Box, Border Box or Outline Box?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-control-size-of-Text-Box-Border-Box-or-Outline-Box/m-p/356294#M60621</link>
      <description>&lt;P&gt;Yes, this is all fully documented in the Scripting Index under the category selection "Graphics"&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="graphics.PNG" style="width: 999px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/30031i342D17437AF06F44/image-size/large?v=v2&amp;amp;px=999" role="button" title="graphics.PNG" alt="graphics.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Feb 2021 01:09:21 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-control-size-of-Text-Box-Border-Box-or-Outline-Box/m-p/356294#M60621</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2021-02-05T01:09:21Z</dc:date>
    </item>
  </channel>
</rss>

