зеркало из https://github.com/DeGsoft/maui-linux.git
Fix typos (mainly 'toogle' becoming 'toggle') (#3975)
This commit is contained in:
Родитель
89eaf5c90d
Коммит
4a249f3425
|
@ -87,7 +87,7 @@ namespace Xamarin.Forms.Controls.Issues
|
|||
RunningApp.WaitForElement("ViewB");
|
||||
RunningApp.Tap("ViewB");
|
||||
RunningApp.WaitForElement("Master");
|
||||
RunningApp.Screenshot("I see the master toogle");
|
||||
RunningApp.Screenshot("I see the master toggle");
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
|
|
@ -43,7 +43,7 @@ namespace Xamarin.Forms.Controls.Issues
|
|||
button = new Button { Text = "Add new data", AutomationId = "btnAdd" };
|
||||
button.Clicked += Button_Clicked;
|
||||
|
||||
var button1 = new Button { Text = "Toogle Uneven rows", AutomationId = "btnToggle" };
|
||||
var button1 = new Button { Text = "Toggle Uneven rows", AutomationId = "btnToggle" };
|
||||
button1.Clicked += Button_Clicked1;
|
||||
|
||||
|
||||
|
|
|
@ -82,7 +82,7 @@ namespace Xamarin.Forms.Controls
|
|||
var switchR = new Switch { BackgroundColor = Color.Fuchsia, IsToggled = true };
|
||||
switchR.Toggled += (sender, e) =>
|
||||
{
|
||||
entry.Text = $"switchR is toogle {switchR.IsToggled}";
|
||||
entry.Text = $"switchR is toggled {switchR.IsToggled}";
|
||||
};
|
||||
var layoutSwitch = new StackLayout { Orientation = StackOrientation.Horizontal, BackgroundColor = Color.Green };
|
||||
layoutSwitch.Children.Add(labal);
|
||||
|
|
|
@ -24,13 +24,13 @@ namespace Xamarin.Forms.Controls
|
|||
btn3.Clicked += async (sender, e) => await Navigation.PushModalAsync (new Issue1461Page (MasterBehavior.Popover, null));
|
||||
|
||||
//we throw an exception here if you try to toggle it
|
||||
var btn4 = new Button { Text = "Split - (always show it as splitview , toogle master always visible, throws expception)" };
|
||||
var btn4 = new Button { Text = "Split - (always show it as splitview , toggle master always visible, throws exception)" };
|
||||
btn4.Clicked += async (sender, e) => await Navigation.PushModalAsync (new Issue1461Page (MasterBehavior.Split, null));
|
||||
|
||||
var btn5 = new Button { Text = "SplitOnPortrait Portrait - (always show it as splitview in Portrait, throws expception)" };
|
||||
var btn5 = new Button { Text = "SplitOnPortrait Portrait - (always show it as splitview in Portrait, throws exception)" };
|
||||
btn5.Clicked += async (sender, e) => await Navigation.PushModalAsync (new Issue1461Page (MasterBehavior.SplitOnPortrait, null));
|
||||
|
||||
var btn6 = new Button { Text = "SplitOnLandscape Landscape - (always show it as splitview in Landscape, throws expception))" };
|
||||
var btn6 = new Button { Text = "SplitOnLandscape Landscape - (always show it as splitview in Landscape, throws exception))" };
|
||||
btn6.Clicked += async (sender, e) => await Navigation.PushModalAsync (new Issue1461Page (MasterBehavior.SplitOnLandscape, null));
|
||||
|
||||
Content = new StackLayout { Padding= new Thickness(0,20,0,0) , Children = { btn, btn1, btn2, btn6, btn3, btn4, btn5 }, Spacing = 20 };
|
||||
|
|
Загрузка…
Ссылка в новой задаче