When I write
Row[ {Framed@Column[{1,2}], Framed@"123"}, Alignment->Top]
or
Row[ {Framed@Column[{1,2}], Framed@"123"}, Alignment->{Left,Top}]
in either case, nothing happens. Default alignment is Center, and elements are listed aligned to each other's midline.
Grid[ {{Framed@Column[{1,2}], Framed@"123"}}, Alignment->Top]
works just fine, but Grid[]
is an overkill when a Row[]
would suffice.
Help system says Alignment should work (lists {Left,Baseline}
as example), but it doesn't seem to be changeable. I'm using v8.0.4.
The Alignment
option in Row
does not align the individual elements themselves, but rather these elements within an outer bounding box. This can be seen with:
Framed@Row[{Framed@Column[{1, 2}], Framed@"123"},
ImageSize -> {150, 150}, Alignment -> {Left, Top}]
Framed@Row[{Framed@Column[{1, 2}], Framed@"123"},
ImageSize -> {150, 150}, Alignment -> {Center, Bottom}]
Use Grid
instead.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With