Column
does not maintain Alignment
settings when OpenerView
opens and closes.
Column[{Graphics[{Blue, Rectangle[{0, 0}, {1, .25}]},
ImageSize -> Small],
Sequence @@ ConstantArray[
OpenerView[{"Text and Stuff wider than the graphic",
"Wide grid of numbers and a lot of stuff and the like."}, False],
3]},
Alignment -> {{Center, {Left}}, Automatic}]
The above Column
displays as expected. The first row is centred and the remaining rows are aligned to the left. However, look at what happens if I open a one of the OpenerView
items.
The rows that should be aligned to the left change their alignment to centre. The behaviour is:
- All
OpenerView
s closed then they are correctly aligned to the left. - Any
OpenerView
open is aligned to the left but those closed are aligned center.
Have I spec'd Alignment
incorrectly or is this a bug?
Adding that the same happens with Grid
.
Grid[{{Graphics[{Blue, Rectangle[{0, 0}, {1, .25}]},
ImageSize -> Small]},
Sequence @@ ConstantArray[
OpenerView[{"Text and Stuff wider than the graphic",
"Wide grid of numbers and a lot of stuff and the like."}, False],
{3, 1}]},
Alignment -> {{Center, {Left}}, Automatic}]
OpenerView[..., ImageSize->All]
. Then it won't jump around. $\endgroup$ImageSize -> {All, Automatic}
instead of justImageSize -> All
as the hidden grid is tall. Post this as an answer. $\endgroup$