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.

I want to create a cell that will resize automatically if the notebook is resized. I was hoping to find some function called NotebookDimensions[], and use it dynamically.

share|improve this question
add comment

1 Answer

up vote 4 down vote accepted

You can use CurrentValue for this. Evaluate the following and try resizing your notebook window:

Dynamic@CurrentValue["WindowSize"]
share|improve this answer
    
Thanks, that's what I was looking for. I think it need to be scaled a little to avoid the frame to be out of the window –  mete Feb 6 at 3:30
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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