left-align custom option label

This commit is contained in:
Michael Becker 2020-06-17 18:29:58 -04:00
parent 33ce82b717
commit afcdf67668
No known key found for this signature in database
GPG Key ID: 506F54899E2BFED7

View File

@ -79,6 +79,7 @@ namespace UniversalEditor.UserInterface.Dialogs
// lbl.AutoSize = true;
// lbl.Dock = DockStyle.None;
// lbl.Anchor = AnchorStyles.Left;
lbl.HorizontalAlignment = HorizontalAlignment.Left;
lbl.UseMnemonic = true;
lbl.Text = eo.Title; // .Replace("_", "&"); // only for WinForms
this.Controls.Add(lbl, new GridLayout.Constraints(iRow, 0, 1, 1, ExpandMode.None));