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.

For example:

Grid[{{10!}, {5!}}, ItemSize -> Full, Frame -> All]

What's the real value of Full?

How can I map the Full to a 2-d array? {{1, 2, 3, 4, 5 ... }, {1, 2, 3, 4, 5 ... }}

Similarly there are some other values like {Scaled[.3]}, Automatic, If I can get the absolute values, then I can map them to the corresponding values in HTML files for example, weight height. Sometimes after rasterizing something to pictures, we can get the dimensions of the images. The tricky here is after exporting Grid content to HTML files(render as text), the ItemSize information is lost?

One background:

my old question about ItemSize output in HTML files (Is there any other easy ways?)

I've wrote one mapping function, This is the effect web page, however I cannot find the NB files after one time I re-installed OS...

so...I need re-think the problem.

share|improve this question
1  
from help, it says on Full: allow every item its full width and height. So it depends on the item. i.e. it is computed during rendering, isn't? Only then the item size if fully known. What is it exactly you are trying to do? –  Nasser Aug 29 '13 at 9:03
    
@Nasser Similarly there are some other values like {Scaled[.3]}, Automatic, If I can get the absolute values, then I can map them to the corresponding values in HTML files for example, weight height. –  HyperGroups Aug 29 '13 at 9:10
    
I am not following you. But the way myself do these things is this: Do not use Full. I simply find the worst case needed for what I am doing, and fix the sizes so that it fits this worst case (i.e. I set ItemSize to that size that I determined). This way, nothing shifts and nothing changes positions during simulation or generating different output, since I have reserved on the screen all the area that I need. Again, I really not following what you are trying to do here. But may be someone will :) –  Nasser Aug 29 '13 at 9:15
    
@Nasser Fine, I'm trying to solve my linked question again, welcome some comments. –  HyperGroups Aug 29 '13 at 9:17
    
The only thing I can think to offer is to check the rasterized size of the objects, e.g. Rasterize[10!, "RasterSize"] -- is this of any use to you? –  Mr.Wizard Aug 29 '13 at 9:27

Your Answer

 
discard

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

Browse other questions tagged or ask your own question.