陣容框中的垂直對齊你好,
如果我將一些顯示框(附圖中的藍色)添加到具有兩列的陣容框中,
並且右側顯示框低於左側,我得到這個空白間隙(附圖中的紅色)。
有什麼方法可以將陣容中的孩子對齊到頂部?
謝謝
。
消費者和市場研究大規模定制質量和工藝工程回复:陣容框中的垂直對齊在真實的儀表板中,會有多種不同類型的圖表,並且陣容中的 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()
)
)
);