cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Discussions

Solve problems, and share tips and tricks with other JMP users.
Choose Language Hide Translation Bar
hogi
Level XIII

Lineup Box: merge cells ?

For a lineup box, is it possible to add an entry which spans across multiple "cells"?

to get this design:

hogi_1-1769756434953.png

 

instead of this one:

hogi_0-1769756292512.png

 

pb = Expr(
	Panel Box( "", Spacer Box( Size( 20, 20 ) ), <<background color( "dark blue" ) )
);
sb = Expr(
	Spacer Box( Size( 20, 20 ) )
);

New Window( "test design",
	Lineup Box( N Col( 4 ), 
	pb, pb, pb, pb, 
	pb, pb, pb, pb, 
	pb, sb, sb, pb, 
	pb, pb, pb, pb, )

);

 

3 REPLIES 3
jthi
Super User

Re: Lineup Box: merge cells ?

You can use Unlineup Box but the spacer box(es) inside that will require some tinkering

jthi_0-1769761443190.png

 

-Jarmo
hogi
Level XIII

Re: Lineup Box: merge cells ?

nice : )

The issue with unlineup box(): It spans along all columns.
How can I guarantee that the cells in the last column line up correctly?

mmarchandFSLR
Level VI

Re: Lineup Box: merge cells ?

I set the spacing for the Lineup Box and added a margin to the right side of the wide Spacer Box in the Unlineup Box with an H List Box.

 

pb = Expr(
	Panel Box( "", Spacer Box( Size( 20, 20 ) ), <<Background Color( "dark blue" ) )
);
sb = Expr(
	Panel Box( "", Spacer Box( Size( 20, 20 ) ) )
);

New Window( "test design",
	Lineup Box( N Col( 4 ), Spacing( 5 ),
		pb, pb, pb, pb,
		pb, pb, pb, pb,
		Unlineup Box( H List Box( Panel Box( "", Spacer Box( Size( , 20 ) ), <<Background Color( "dark blue" ), <<Margin( Right( 5 ) ) ), pb ) ),
		pb, pb, pb, pb
	)
);

mmarchandFSLR_0-1769778699318.png

 

Recommended Articles