M
Mathieu Chavoutier
Hi.
I want to center text of labels, but don't know how to do it.
I have try to do a :
distX = netUseGroupBox.ClientSize.Width / 4 - mailLabel.Text.Length * 8 / 2;
But it works only for one Label (not the others).
So, how is it possible to know the effective size of the text (size in
pixels) ?
I want to center text of labels, but don't know how to do it.
I have try to do a :
distX = netUseGroupBox.ClientSize.Width / 4 - mailLabel.Text.Length * 8 / 2;
But it works only for one Label (not the others).
So, how is it possible to know the effective size of the text (size in
pixels) ?