阵容框中的垂直对齐你好,
如果我将一些显示框(附图中的蓝色)添加到具有两列的阵容框中,
并且右侧显示框低于左侧,我得到这个空白间隙(附图中的红色)。
有什么方法可以将阵容中的孩子对齐到顶部?
谢谢
。
消费者和市场研究大规模定制质量和工艺工程回复:阵容框中的垂直对齐在真实的仪表板中,会有多种不同类型的图表,并且阵容中的 NCols 数量不会是恒定的。
Report(v) << verticalAlignment(Top);
是完美的
回复:阵容框中的垂直对齐是的! 谢谢!回复:阵容框中的垂直对齐为什么不简单地使用水平列表框呢?

Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
New Window( "Spacing",
H List Box(
dt << Variability Chart( Y( :height ), X( :age, :sex ), Std Dev Chart( 0 ) ),
dt << Distribution(
Continuous Distribution(
Column( :height ),Quantiles( 0 ),Summary Statistics( 0 ),
Horizontal Layout( 1 ),Vertical( 0 ),Outlier Box Plot( 0 )
)
)
)
);回复:阵容框中的垂直对齐这是否给出了您想要的行为?
Names Default To Here( 1 );
Open( "$SAMPLE_DATA/Big Class.jmp" );
New Window( "Spacing",
Lineup Box( N Col( 2 ), Spacing(0),
v = Variability Chart( Y( :height ), X( :age, :sex ), Std Dev Chart( 0 ) ),
d = Distribution(
Continuous Distribution(
Column( :height ),Quantiles( 0 ),Summary Statistics( 0 ),
Horizontal Layout( 1 ),Vertical( 0 ),Outlier Box Plot( 0 )
)
)
);
);
Wait(2);
Report(v) << verticalAlignment(Top);
Report(d) << verticalAlignment(Top);回复:阵容框中的垂直对齐谢谢吉姆。
当我定义间隔框的精确尺寸,然后用户(我正在开发仪表板)放大变异性图表时,空白空间又回来了。
我想没有“正常”的解决方案......
回复:阵容框中的垂直对齐为了让您的代码正常工作,您只需更改间隔盒的位置和间隔盒的大小即可

Names Default To Here( 1 );
Open( "$SAMPLE_DATA/Big Class.jmp" );
New Window( "Spacing",
Lineup Box( N Col( 2 ), Spacing( 0 ),
Variability Chart( Y( :height ), X( :age, :sex ), Std Dev Chart( 0 ) ),
V List Box(
Distribution(
Continuous Distribution(
Column( :height ),
Quantiles( 0 ),
Summary Statistics( 0 ),
Horizontal Layout( 1 ),
Vertical( 0 ),
Outlier Box Plot( 0 )
)
),
Spacer Box( size( 1, 150 ) )
)
)
);回复:阵容框中的垂直对齐谢谢你们俩。
不幸的是,这对我不起作用。
附上图片和脚本。
我使用的是 JMP Pro 15.1
@tx尼尔森@马克贝利

Names Default To Here( 1 );
Open( "$SAMPLE_DATA/Big Class.jmp" );
New Window( "Spacing",
Lineup Box( N Col( 2 ), Spacing(0),
Variability Chart( Y( :height ), X( :age, :sex ), Std Dev Chart( 0 ) ),
V List Box(
Distribution(
Continuous Distribution(
Column( :height ),Quantiles( 0 ),Summary Statistics( 0 ),
Horizontal Layout( 1 ),Vertical( 0 ),Outlier Box Plot( 0 )
),
Spacer Box()
)
)
);
);
回复:阵容框中的垂直对齐您可能想尝试将间距设置为 0,然后使用 spacer box() 获得所需的间距。 对象实际上应该与顶部对齐。 您运行的是哪个版本的 JMP?回复:阵容框中的垂直对齐右侧可以是另一个 V List Box(),其中包含您要显示的实际显示框,后跟一个间隔框。
Names Default to Here( 1 );
New Window( "Spacing",
Line Up Box( N Col( 2 ),
Outline Box( "one",
Table Box(
String Col Box( "Stuff 1", { "1", "2", "3" } )
)
),
V List Box(
Outline Box( "two",
Table Box(
String Col Box( "Stuff 1", { "1", "2" } )
)
),
Spacer Box()
)
)
);