cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Don’t miss your chance to experience Discovery Summit Europe at our best available rate! Early bird registration through 31 Oct.
  • Image to Table JMP extension imports single or batch images as data tables. Useful to extract curves from pictures or convert image data to curve data to use in analyses like Functional Data Explorer. Download and install the extension.

Discussions

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

How can Display Boxes be center aligned?

How can the two objects in the following JSL be aligned along their respective central lines as shown in the image?

New Window( "Test", 

	Text Box( "Test Center alignment" ),
	CB = Combo Box( {"1", "2", "3", "4"}, );
);

螢幕擷取畫面 2025-01-08 194150.png 

1 ACCEPTED SOLUTION

Accepted Solutions
jthi
Super User

Re: How can objects be aligned with a central line?

You can use H/V List Box(align("center")) or H/V Center Box

Names Default To Here(1);

nw = New Window("Test",
	V List Box(
		align("center"),
		Text Box("Test Center alignment"),
		CB = Combo Box({"1", "2", "3", "4"})
	)
);

Display Functions 

jthi_0-1736333635172.png

jthi_1-1736333641555.png

 

-Jarmo

View solution in original post

1 REPLY 1
jthi
Super User

Re: How can objects be aligned with a central line?

You can use H/V List Box(align("center")) or H/V Center Box

Names Default To Here(1);

nw = New Window("Test",
	V List Box(
		align("center"),
		Text Box("Test Center alignment"),
		CB = Combo Box({"1", "2", "3", "4"})
	)
);

Display Functions 

jthi_0-1736333635172.png

jthi_1-1736333641555.png

 

-Jarmo

Recommended Articles