Scripting display box widths: OutlineBox & GraphBoxI scripted a simple 2x2 scorecard (see attached JSL):

When I saved the journal to PDF and printed it, the display boxes had different widths:
- OutlineBox - 3"
- GraphBox - 2.88"
Is there a way to make the display boxes all the same width (e.g., 3") ?
Automation and ScriptingContent OrganizationMass CustomizationSharing and Communicating ResultsRe: Scripting display box widths: OutlineBox & GraphBoxThanks everyone for your suggestions.
I ended up changing the Bar chart widths (from 300 to 308).
The following structure worked the best for me:
VListBox(
HListBox(
OutlineBox( "X", TextBox("X",<<SETWIDTH> </SETWIDTH>
Re: Scripting display box widths: OutlineBox & GraphBoxDidn't realize it inherited. Awesome.Re: Scripting display box widths: OutlineBox & GraphBoxSorry. Please disregard the post above. Now I see the columns don't line up . . .
Re: Scripting display box widths: OutlineBox & GraphBoxPerhaps I missed something, but maybe you can make rows with 'HListBox()', then use the 'Vertical Alignment(center)' message?
Re: Scripting display box widths: OutlineBox & GraphBox@vince_faller, I was thinking of same thing yesterday with using the SpacerBox() to force the DisplayBoxes to be top aligned.
The one improvement I might suggest is to use a LineupBox of 1 column instead of a V List Box so that the width of the items are inherited. See attached.

Re: Scripting display box widths: OutlineBox & GraphBoxif you put each of those outline boxes in a Vlistbox() with a spacerbox() underneath it. It will line up.

Re: Scripting display box widths: OutlineBox & GraphBoxI suspect that JMP is centering each object vertically on the page, hence the apparent misalignment. I don't know if there's a way to set the object to appear at the top of it's grid.
Re: Scripting display box widths: OutlineBox & GraphBoxLineupBox did work for my example of a 2x2 grid of 4 charts.
However, I get weird results (vertically) when I use LineupBox for a 3x3 grid of assorted 9 charts:

Any suggestions for the attached code (Scorecard2.jsl) ?
Re: Scripting display box widths: OutlineBox & GraphBoxYou can use a LineupBox to organize DisplayBoxes in a grid where columns all have the same width. This would be instead of using V and H List Boxes as shown below.
win = New Window( "Customer Service Scorecard",
Text Box(
"Customer Service Scorecard",
<<SETFONTSIZE></SETFONTSIZE>