Constraining LayoutsI want to improve the layout of an app I am writing. My script generates a simple report which is a tall and wide table which I want to put on a GUI. However, when I place the display item into my GUI JMP Seems to set some default sizes and adds scroll bars. Is there a way to override these constraints. Or, indeed a better way to perform this type of layout...I tried using a splitter box but see the same issue.
Re: Constraining LayoutsI had a similar issue and ended up putting in a scrollbox, something like:
heading = textBox("Application",<< fontColor("red"),<< setFontSize(24),<< setFontStyle("bold"));
table = open("C:\libYa\docs\Snippets\Splitter Box\randomData.jmp", invisible) << getAsReport();
spacer1 = spacerBox(size(1450,1));
spacer2 = spacerBox(size(1450,500));
platform = newWindow("Random Data",
scrollbox(
size(1500,800),
vListBox(
heading,
panelBox("Random Data", vListBox(spacer1,table)),
panelBox("Bottom Layout", vListBox(spacer2))
);
)
);
platform << setWindowSize(1500, 800);Re: Constraining Layoutsheading = textBox("Application",<< fontColor("red"),<< setFontSize(24),<< setFontStyle("bold"));
table = open("C:\libYa\docs\Snippets\Splitter Box\randomData.jmp", invisible) << getAsReport();
spacer1 = spacerBox(size(1450,1));
spacer2 = spacerBox(size(1450,500));
platform = newWindow("Random Data",
vListBox(
heading,
panelBox("Random Data", vListBox(spacer1,table)),
panelBox("Bottom Layout", vListBox(spacer2))
);
);
platform << setWindowSize(1500, 800);