mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2026-01-01 08:50:25 +01:00
Justification->Alignment
This commit is contained in:
@@ -29,12 +29,12 @@ public class ThemeScopeTests
|
||||
{
|
||||
Reset ();
|
||||
Assert.NotEmpty (Themes);
|
||||
Assert.Equal (Alignment.Right, Dialog.DefaultButtonJustification);
|
||||
Assert.Equal (Alignment.Right, Dialog.DefaultButtonAlignment);
|
||||
|
||||
Themes ["Default"] ["Dialog.DefaultButtonJustification"].PropertyValue = Alignment.Centered;
|
||||
Themes ["Default"] ["Dialog.DefaultButtonAlignment"].PropertyValue = Alignment.Centered;
|
||||
|
||||
ThemeManager.Themes! [ThemeManager.SelectedTheme]!.Apply ();
|
||||
Assert.Equal (Alignment.Centered, Dialog.DefaultButtonJustification);
|
||||
Assert.Equal (Alignment.Centered, Dialog.DefaultButtonAlignment);
|
||||
Reset ();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user