diff --git a/UICatalog/Scenarios/TextAlignmentAndDirection.cs b/UICatalog/Scenarios/TextAlignmentAndDirection.cs index 16933ec96..67b0ec54c 100644 --- a/UICatalog/Scenarios/TextAlignmentAndDirection.cs +++ b/UICatalog/Scenarios/TextAlignmentAndDirection.cs @@ -484,7 +484,7 @@ public class TextAlignmentAndDirection : Scenario Enabled = false }; - justifyCheckbox.Toggle += (s, e) => ToggleJustify (e.NewValue == CheckState.Checked); + justifyCheckbox.Toggle += (s, e) => ToggleJustify (e.NewValue != CheckState.Checked); justifyOptions.SelectedItemChanged += (s, e) => { ToggleJustify (false, true); }; diff --git a/UICatalog/Scenarios/TrueColors.cs b/UICatalog/Scenarios/TrueColors.cs index 3a1446967..bd5f498ba 100644 --- a/UICatalog/Scenarios/TrueColors.cs +++ b/UICatalog/Scenarios/TrueColors.cs @@ -34,6 +34,7 @@ public class TrueColors : Scenario Y = y++, State = canTrueColor ? CheckState.Checked : CheckState.UnChecked, CanFocus = false, + Enabled = false, Text = "Driver supports true color " }; app.Add (cbSupportsTrueColor);