Comme indiqué dans le JSL, la taille du graphique est limitée par le troisième onglet et ne peut pas être réduite davantage. Cela peut être dû au fait que la page du troisième onglet ne peut pas être réduite davantage. Cependant, si je souhaite continuer à réduire la taille du graphique tout en conservant des espaces vides dans d'autres zones de la page, comment puis-je résoudre cette interférence entre les différents onglets ?
Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
NW = New Window( "Test Window",
tb = Tab Box(
tabPage0 = Tab Page Box(
Title( "Test Tab 0" ),
ObTab1 = Outline Box( "Tab 0",
Ob0 = Outline Box( "Test Graph 1",
GB0 = Graph Builder(
Size( 534, 80 ),
Show Control Panel( 0 ),
Variables( X( :age ), Y( :height ), Y( :weight ), Overlay( :age ) ),
Elements(
Position( 1, 1 ),
Points( X, Y, Legend( 4 ) ),
Smoother( X, Y, Legend( 6 ) )
),
Elements(
Position( 1, 2 ),
Points( X, Y, Legend( 5 ) ),
Smoother( X, Y, Legend( 7 ) )
)
)
);
),
),
tabPage1 = Tab Page Box(
Title( "Test Tab 1" ),
ObTab1 = Outline Box( "Tab 1",
Ob1 = Outline Box( "Test Graph 1",
GB1 = Graph Builder(
Size( 534, 450 ),
Show Control Panel( 0 ),
Variables( X( :age ), Y( :height ), Y( :weight ) ),
Elements( Position( 1, 1 ), Points( X, Y, Legend( 4 ) ) ),
Elements( Position( 1, 2 ), Points( X, Y, Legend( 5 ) ) )
)
);
),
),
tabPage2 = Tab Page Box(
Title( "Test Tab 2" ),
ObTab2 = Outline Box( "Tab 2",
Button Box( "Test", ),
Button Box( "Test", ),
Button Box( "Test", ),
Button Box( "Test", ),
Button Box( "Test", ),
Button Box( "Test", ),
Button Box( "Test", ),
Button Box( "Test", ),
Button Box( "Test", ),
Button Box( "Test", ),
Button Box( "Test", ),
Button Box( "Test", ),
Button Box( "Test", ),
Button Box( "Test", ),
Button Box( "Test", ),
Button Box( "Test", ),
Button Box( "Test", ),
Button Box( "Test", ),
Button Box( "Test", ),
Button Box( "Test", ),
Button Box( "Test", ),
Button Box( "Test", ),
Button Box( "Test", ),
Button Box( "Test", ),
Button Box( "Test", ),
Button Box( "Test", ),
Button Box( "Test", ),
Button Box( "Test", ),
Button Box( "Test", ),
Button Box( "Test", ),
Button Box( "Test", ),
Button Box( "Test", ),
Button Box( "Test", ),
Button Box( "Test", ),
Button Box( "Test", ),
),
),
)
);
Il vous suffit de désactiver « Ajuster à la fenêtre ».
Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
NW = New Window( "Test Window",
tb = Tab Box(
tabPage0 = Tab Page Box(
Title( "Test Tab 0" ),
ObTab1 = Outline Box( "Tab 0",
Ob0 = Outline Box( "Test Graph 1",
GB0 = Graph Builder(
Size( 534, 80 ),
Show Control Panel( 0 ),
Fit to Window( "Off" ),
Variables( X( :age ), Y( :height ), Y( :weight ), Overlay( :age ) ),
Elements(
Position( 1, 1 ),
Points( X, Y, Legend( 4 ) ),
Smoother( X, Y, Legend( 6 ) )
),
Elements(
Position( 1, 2 ),
Points( X, Y, Legend( 5 ) ),
Smoother( X, Y, Legend( 7 ) )
)
)
);
),
),
tabPage1 = Tab Page Box(
Title( "Test Tab 1" ),
ObTab1 = Outline Box( "Tab 1",
Ob1 = Outline Box( "Test Graph 1",
GB1 = Graph Builder(
Size( 534, 450 ),
Show Control Panel( 0 ),
Fit to Window( "Off" ),
Variables( X( :age ), Y( :height ), Y( :weight ) ),
Elements( Position( 1, 1 ), Points( X, Y, Legend( 4 ) ) ),
Elements( Position( 1, 2 ), Points( X, Y, Legend( 5 ) ) )
)
);
),
),
tabPage2 = Tab Page Box(
Title( "Test Tab 2" ),
ObTab2 = Outline Box( "Tab 2",
Button Box( "Test", ),
Button Box( "Test", ),
Button Box( "Test", ),
Button Box( "Test", ),
Button Box( "Test", ),
Button Box( "Test", ),
Button Box( "Test", ),
Button Box( "Test", ),
Button Box( "Test", ),
Button Box( "Test", ),
Button Box( "Test", ),
Button Box( "Test", ),
Button Box( "Test", ),
Button Box( "Test", ),
Button Box( "Test", ),
Button Box( "Test", ),
Button Box( "Test", ),
Button Box( "Test", ),
Button Box( "Test", ),
Button Box( "Test", ),
Button Box( "Test", ),
Button Box( "Test", ),
Button Box( "Test", ),
Button Box( "Test", ),
Button Box( "Test", ),
Button Box( "Test", ),
Button Box( "Test", ),
Button Box( "Test", ),
Button Box( "Test", ),
Button Box( "Test", ),
Button Box( "Test", ),
Button Box( "Test", ),
Button Box( "Test", ),
Button Box( "Test", ),
Button Box( "Test", ),
),
),
)
);

Dans ce cas, il est conseillé d'utiliser « Ajuster à la fenêtre » (comme suggéré). Parfois, cela peut être nécessaire.
<< Set Auto Stretching({0,0});
Sur certaines zones d'affichage. Dans ce cas, vous pourriez l'utiliser sur les pages d'onglets 0 et 1, par exemple.