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.
1 Answer
You can use CurrentValue
for this. Evaluate the following and try resizing your notebook window:
Dynamic@CurrentValue["WindowSize"]
-
$\begingroup$ 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 $\endgroup$– meteFeb 6, 2014 at 3:30