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.

How can I set the item size of the items 0.2 and 300 below to a smaller size than "AKs"?

Grid[{{"AKs", SpanFromLeft, 0.2}, {SpanFromAbove, SpanFromBoth, 300}},
  Alignment -> {{Center, Right}, {Center, Right}}, 
 ItemSize -> {{Automatic, 6}, {Automatic, 6}}, Frame -> None]

Thanks.

share|improve this question
2  
You could use Row and Column: Row[{"AKs ", Column[{0.2, 300}]}] Or specify ItemSize for all elements: ItemSize -> {{Automatic, Automatic, 6}, {Automatic, Automatic, 6}} –  ssch Jun 1 '13 at 16:22
    
Thanks, I forgot to put the extra specification since each row has 3 elements. –  dabd Jun 1 '13 at 22:54
    
@dabd I find this question somewhat hard to understand. Does ssch's method satisfy? –  Mr.Wizard Jun 5 '13 at 9:57
    
Yes I posted a comment above. Since he posted the solution in a comment I can't mark it as "solved". –  dabd Jun 6 '13 at 10:42
    
@ssch Please consider posting an answer for the record or casting a close vote :) –  Kuba Mar 28 at 1:43
add comment

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.