I have a grid I've created with the first row set up as the title to the grid. The problem I'm having is that when the title is wider than the following rows need to be, Mathematica extends the final column of the lower rows to be wider. I'd really like to tell it to space the lower rows evenly, but I can't seem to figure out how to do it. I've been fiddling around with ItemSize, but I just can't seem to land on the correct solution. I have included a code sample and the output I'm getting from it here.
With[
{bbEEDdPercent = "31.2%", bbEeDdPercent = "62.5%"},
f4g = x_String :> Style[Text[x], 25];
Grid[{
{Style[UnderBar[Text["Dilute-factored Chocolate"]], 35, Bold],
SpanFromLeft}
, {"bbEEDd" /. f4g, bbEEDdImage, bbEEDdPercent /. f4g}
, {"bbEeDd" /. f4g, bbEeDdImage, bbEeDdPercent /. f4g}
}, Alignment -> {Center, Center}, Frame -> All]]
ItemSize
for the numeric cells, e.g.,Item[bbEEDdPercent /. f4g, ItemSize -> {Scaled[.2], Automatic}]
? $\endgroup$ItemSize -> {{Scaled[.4], Scaled[.4]}, Automatic}
afterFrame->All
in your posted code. $\endgroup$ImageSize->All
, and possibly adjust theSpacings
option as well. $\endgroup$