I have a pushbutton cell with an image. Even though the vertical alignment is set to middle, the image floats to the top of the cell when the rowheight grows.
Here are the properties i am setting to create the cell:
----------
cellStyle.Themed = false;
cellStyle.BackColor = System.Drawing.Color.FromArgb(242, 247, 253);
cellStyle.CellType = CELLTYPE_PUSHBUTTON;
cellStyle.Tag = imageIndex;
cellStyle.ImageList = this.imageList1;
cellStyle.ImageIndex = imageIndex;
cellStyle.HorizontalAlignment = GridHorizontalAlignment.Center;
cellStyle.VerticalAlignment = GridVerticalAlignment.Middle;
cellStyle.Clickable = true;
cellStyle.CellAppearance = GridCellAppearance.Flat;
cellStyle.CellTipText = tooltipText;
-----------
Is there something i'm missing?
We are using version 5.2.0.25. I've attached a screenshot displaying the problem (it's the X at the end of the row).
Thanks,
Julie
gridImageVertical_8bfe764e.zip