Fixed scenarios

This commit is contained in:
Tig
2024-06-25 13:51:59 -07:00
parent 77f92d8c5b
commit aec7dac9cd
2 changed files with 6 additions and 4 deletions

View File

@@ -219,7 +219,8 @@ public class DatePicker : View
Text = GetBackButtonText (),
WantContinuousButtonPressed = true,
NoPadding = true,
NoDecorations = true
NoDecorations = true,
ShadowStyle = ShadowStyle.None
};
_previousMonthButton.Accept += (sender, e) =>
@@ -237,7 +238,8 @@ public class DatePicker : View
Text = GetForwardButtonText (),
WantContinuousButtonPressed = true,
NoPadding = true,
NoDecorations = true
NoDecorations = true,
ShadowStyle = ShadowStyle.None
};
_nextMonthButton.Accept += (sender, e) =>

View File

@@ -77,7 +77,7 @@ public class HotKeys : Scenario
{
Title = "B_utton with Frame (focusable)",
CanFocus = true,
X = Pos.Right (buttonWithFrameLabel) + 1, Y = Pos.Top (buttonWithFrameLabel), Width = 40, Height = 3,
X = Pos.Right (buttonWithFrameLabel) + 1, Y = Pos.Top (buttonWithFrameLabel), Width = 40,
BorderStyle = LineStyle.Dashed
};
app.Add (buttonWithFrameFocusable);
@@ -88,7 +88,7 @@ public class HotKeys : Scenario
var buttonWithFrame = new Button
{
Title = "Button with Frame (not focusab_le)",
X = Pos.Right (buttonWithFrameLabel) + 1, Y = Pos.Top (buttonWithFrameLabel), Width = 40, Height = 3,
X = Pos.Right (buttonWithFrameLabel) + 1, Y = Pos.Top (buttonWithFrameLabel), Width = 40,
CanFocus = false,
BorderStyle = LineStyle.Dashed
};