Visual C# でラジオ ボタンを追加すると、ラジオ ボタンのテキスト名が完全に右側に配置されます。ラジオボタンを動的に作成し、いくつかのプロパティなどを指定すると、デバッグして表示すると、ラジオボタンのテキストまたは名前がラジオボタンの右側にわずかにシフトされますか? パディングなどを含むいくつかのプロパティを見ていますが、これを動的に修正する方法がわかりません。どうすればこれを修正できますか?
ここに私が現在使用しているプロパティの例があります
radio_ip_addresses[i] = new RadioButton();
radio_ip_addresses[i].Name = "radio_" + i;
radio_ip_addresses[i].Text = ip_addresses.Dequeue();
radio_ip_addresses[i].Location = new Point(x, y);
radio_ip_addresses[i].Font = new Font("Microsoft Sans Serif", 8, FontStyle.Bold);
radio_ip_addresses[i].ForeColor = Color.White;
radio_ip_addresses[i].TextAlign = ContentAlignment.MiddleLeft;
radio_ip_addresses[i].Visible = true;
radio_ip_addresses[i].Parent = this;