Hi,
I have an issue with the padding of cell content in my UltraWinGrid. Depending on their type (numeric or text), the padding is different.
I attached a screenshot showing the issue. Note that the issue is still present if both content are aligned on the same side.
I'm afraid I'm not following you. What padding are you referring to? It looks to me like your numeric column is aligned to the right and your text column is aligned to the left. These are the default alignments for text in the grid.
You say the alignment is the same, but it doesn't look like it to me. Which side are you aligning to and how you are applying that alignment?
If both of these columns are aligned to the left, then my guess is that the numeric column is accounting for the mask placeholders and that's why it's so far over to the right. To avoid that, you would have to change the mask to have fewer leading digits or else don't use a mask for your numeric column.
I'm talking about the space between the displayed text and the column separator. I don't know how it is called (I would call it padding but apparently I'm wrong) so that's why I attached a screenshot to explain my problem (which is not obvious apparently).
I didn't say the alignment was the same, but you're right, I was wrong, the alignment is not the same and my problem depend on the alignment.
To summarize: - if both columns are align on the same side, no "padding" difference => no issue.- if I define a different alignment using CellAppearance.TextHAlign, I have the issue even if don't use a mask