diff --git a/Terminal.Gui/Views/Wizard/Wizard.cs b/Terminal.Gui/Views/Wizard/Wizard.cs index f9283b9c8..c6334e434 100644 --- a/Terminal.Gui/Views/Wizard/Wizard.cs +++ b/Terminal.Gui/Views/Wizard/Wizard.cs @@ -54,23 +54,6 @@ public class Wizard : Dialog private readonly LinkedList _steps = new (); private WizardStep _currentStep; private bool _finishedPressed; - - ///// - ///// The title of the Wizard, shown at the top of the Wizard with " - currentStep.Title" appended. - ///// - ///// - ///// The Title is only displayed when the is set to false. - ///// - //public new string Title { - // get { - // // The base (Dialog) Title holds the full title ("Wizard Title - Step Title") - // return base.Title; - // } - // set { - // wizardTitle = value; - // base.Title = $"{wizardTitle}{(steps.Count > 0 && currentStep is { } ? " - " + currentStep.Title : string.Empty)}"; - // } - //} private string _wizardTitle = string.Empty; /// @@ -83,9 +66,8 @@ public class Wizard : Dialog /// public Wizard () { - // Using Justify causes the Back and Next buttons to be hard justified against - // the left and right edge - ButtonAlignment = Alignment.Justified; + // TODO: LastRightRestLeft will enable a "Quit" button to always appear at the far left + ButtonAlignment = Alignment.LastRightRestLeft; BorderStyle = LineStyle.Double; //// Add a horiz separator