Hi @Françoise,
Just to verify, the title of your outline box in your journal is wrapping onto a second line and you need the outline box to be wider to prevent that?
My sense is that outline boxes will be as wide as the content within them by default.
If you don't need a scripted solution, you can probably just make the content inside the outline box wider by grabbing the edge and pulling it out wider.
If you need something scripted, you could resize the content or toss in a wide and thin spacer box (e.g. SpacerBox( Size( 700, 1) )) using Append() to make the outline box wider. It's a bit of a hack, but it does the job. Here's a really simple example:
//Run this first and view the result
New Window("Test", << Journal,
Outline Box("Test OB with a very very very very very very very lonnnnnnnggggggggg title",
text box("brief content");
)
);
//Run this second and notice how the spacer box makes the outline box much wider
Current Journal()[Outline Box(1)] << Append(spacerbox(size(700,1)));;
-- Cameron Willden