|
@@ -51,7 +51,7 @@ public class Dialog : Window
|
|
ColorScheme = Colors.ColorSchemes ["Dialog"];
|
|
ColorScheme = Colors.ColorSchemes ["Dialog"];
|
|
|
|
|
|
Modal = true;
|
|
Modal = true;
|
|
- ButtonAlignment = DefaultButtonAlignment;
|
|
|
|
|
|
+ ButtonAlignment = DefaultButtonJustification;
|
|
|
|
|
|
AddCommand (
|
|
AddCommand (
|
|
Command.QuitToplevel,
|
|
Command.QuitToplevel,
|
|
@@ -122,7 +122,7 @@ public class Dialog : Window
|
|
/// <remarks>This property can be set in a Theme.</remarks>
|
|
/// <remarks>This property can be set in a Theme.</remarks>
|
|
[SerializableConfigurationProperty (Scope = typeof (ThemeScope))]
|
|
[SerializableConfigurationProperty (Scope = typeof (ThemeScope))]
|
|
[JsonConverter (typeof (JsonStringEnumConverter))]
|
|
[JsonConverter (typeof (JsonStringEnumConverter))]
|
|
- public static Justification DefaultButtonAlignment { get; set; } = Justification.Centered;
|
|
|
|
|
|
+ public static Justification DefaultButtonJustification { get; set; } = Justification.Right;
|
|
|
|
|
|
/// <summary>
|
|
/// <summary>
|
|
/// Adds a <see cref="Button"/> to the <see cref="Dialog"/>, its layout will be controlled by the
|
|
/// Adds a <see cref="Button"/> to the <see cref="Dialog"/>, its layout will be controlled by the
|