回复:排队框的垂直对齐不同的物体有不同的尺寸,所以我要做的是使用垫片盒来调整它们

new window( "Test",
line up box( N Col( 2 ),
V List Box(
Spacer Box( size( 0, 2 ) ),
H List Box(
Text Box( "Variable 1" ),
Number Edit Box( 0 )
)
),
Button Box( "Create Column" ),
H List Box(
Text Box( "Variable 2" ),
Number Edit Box( 0 )
),
Text Box( "" ),
V List Box(
Spacer Box( size( 0, 2 ) ),
H List Box(
Text Box( "Variable 3" ),
Number Edit Box( 0 )
)
),
Button Box( "Create Column" )
)
)
排队框的垂直对齐我将文本框、数字编辑框和按钮框组合在一个排列框对齐中,但最终得到的显示不一定是直的(见快照)。 有没有办法解决这个问题,使每个框按比例对齐?
new window("Test",
line up box(ncol(3),
Text box("Variable 1"),Number edit box(0),Button box("Create Column"),
Text box("Variable 2"),Number edit box(0),TExt box(""),
Text box("Variable 3"),Number edit box(0),Button box("Create Column")
)
)高级统计建模数据混合和清理