mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2026-01-01 16:59:35 +01:00
Fixed scenarios.
This commit is contained in:
@@ -120,8 +120,7 @@ public class ListColumns : Scenario
|
||||
{
|
||||
Checked = _listColView.Style
|
||||
.ShowHorizontalBottomline,
|
||||
CheckType = MenuItemCheckStyle
|
||||
.Checked
|
||||
CheckType = MenuItemCheckStyle.Checked
|
||||
},
|
||||
_miCellLines = new (
|
||||
"_CellLines",
|
||||
@@ -131,8 +130,7 @@ public class ListColumns : Scenario
|
||||
{
|
||||
Checked = _listColView.Style
|
||||
.ShowVerticalCellLines,
|
||||
CheckType = MenuItemCheckStyle
|
||||
.Checked
|
||||
CheckType = MenuItemCheckStyle.Checked
|
||||
},
|
||||
_miExpandLastColumn = new (
|
||||
"_ExpandLastColumn",
|
||||
|
||||
@@ -233,7 +233,10 @@ public class ProgressBarStyles : Scenario
|
||||
|
||||
var ckbBidirectional = new CheckBox
|
||||
{
|
||||
X = Pos.Center (), Y = Pos.Bottom (continuousPB) + 1, Text = "BidirectionalMarquee", State = CheckState.Checked
|
||||
X = Pos.Center (),
|
||||
Y = Pos.Bottom (continuousPB),
|
||||
Text = "BidirectionalMarquee",
|
||||
State = CheckState.Checked
|
||||
};
|
||||
container.Add (ckbBidirectional);
|
||||
|
||||
@@ -288,9 +291,9 @@ public class ProgressBarStyles : Scenario
|
||||
|
||||
ckbBidirectional.Toggle += (s, e) =>
|
||||
{
|
||||
ckbBidirectional.State = e.CurrentValue;
|
||||
ckbBidirectional.State = e.NewValue;
|
||||
marqueesBlocksPB.BidirectionalMarquee =
|
||||
marqueesContinuousPB.BidirectionalMarquee = e.CurrentValue == CheckState.Checked;
|
||||
marqueesContinuousPB.BidirectionalMarquee = e.NewValue == CheckState.Checked;
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user