Justifier->Aligner

This commit is contained in:
Tig
2024-05-10 10:35:49 -06:00
parent 0df5133fc1
commit c5a6c907a4
54 changed files with 1229 additions and 1222 deletions

View File

@@ -77,15 +77,15 @@ public class ThemeTests
public void TestSerialize_RoundTrip ()
{
var theme = new ThemeScope ();
theme ["Dialog.DefaultButtonJustification"].PropertyValue = Justification.Right;
theme ["Dialog.DefaultButtonJustification"].PropertyValue = Alignment.Right;
string json = JsonSerializer.Serialize (theme, _jsonOptions);
var deserialized = JsonSerializer.Deserialize<ThemeScope> (json, _jsonOptions);
Assert.Equal (
Justification.Right,
(Justification)deserialized ["Dialog.DefaultButtonJustification"].PropertyValue
Alignment.Right,
(Alignment)deserialized ["Dialog.DefaultButtonJustification"].PropertyValue
);
Reset ();
}