Take the 2-minute tour ×
Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

This will be a simple question. Sometimes it is helpful to control the size of content displayed while having a scroll bar so content is not truncated. Is it possible to have a scroll bar attached to Panel[], Column[], Grid[] or Row[] element? So that I can at least specify a maximum width/height beyond which a scroll bar will appear.

Thanks!

share|improve this question

closed as off-topic by Kuba, Öskå, m_goldberg, Michael E2, b.gatessucks Jul 5 at 17:40

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "This question arises due to a simple mistake such as a trivial syntax error, incorrect capitalization, spelling mistake, or other typographical error and is unlikely to help any future visitors, or else it is easily found in the documentation." – Kuba, Öskå, m_goldberg, Michael E2, b.gatessucks
If this question can be reworded to fit the rules in the help center, please edit the question.

2  
Pane[] has an Scrollbars option –  belisarius Jul 5 at 3:10

1 Answer 1

up vote 2 down vote accepted

EDIT: I decided this was simple enough a question that this should have more controls to make it an answer and not a comment.

Manipulate[Pane[Grid[Partition[ConstantArray[1, {elems}], cols, cols, 1, ""], 
Frame -> All], {200, 100}, Scrollbars -> {horizScroll, vertScroll}],
{{elems, 5, "Elements"}, 5, 100, 1},
{{cols, 4, "Columns"}, 4, 20, 1},
{{horizScroll, True, "Horiztonal Scroll"}, {True, False}},
{{vertScroll, True, "Vertical Scroll"}, {True, False}}]
share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.