Skip to content

Commit af30620

Browse files
github-actions[bot]PureWeen
authored andcommitted
[create-pull-request] automated change (#30232)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 8c6ae27 commit af30620

File tree

1 file changed

+37
-37
lines changed

1 file changed

+37
-37
lines changed

src/Controls/tests/TestCases.HostApp/Issues/Issue28798.cs

Lines changed: 37 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -4,46 +4,46 @@ namespace Maui.Controls.Sample.Issues;
44
[Issue(IssueTracker.Github, 28798, "Controls Disappear When WebView is Used with Hardware Acceleration Disabled in Android", PlatformAffected.Android)]
55
public partial class Issue28798 : ContentPage
66
{
7-
public Issue28798()
8-
{
9-
var grid = new Grid
10-
{
11-
HeightRequest = 500,
12-
Background = Colors.Green,
13-
WidthRequest = 300
14-
};
7+
public Issue28798()
8+
{
9+
var grid = new Grid
10+
{
11+
HeightRequest = 500,
12+
Background = Colors.Green,
13+
WidthRequest = 300
14+
};
1515

16-
grid.RowDefinitions.Add(new RowDefinition { Height = GridLength.Auto });
17-
grid.RowDefinitions.Add(new RowDefinition { Height = GridLength.Auto });
18-
grid.RowDefinitions.Add(new RowDefinition { Height = GridLength.Auto });
16+
grid.RowDefinitions.Add(new RowDefinition { Height = GridLength.Auto });
17+
grid.RowDefinitions.Add(new RowDefinition { Height = GridLength.Auto });
18+
grid.RowDefinitions.Add(new RowDefinition { Height = GridLength.Auto });
1919

20-
var label = new Label
21-
{
22-
Text = "Test",
23-
Background = Colors.Red,
24-
AutomationId = "TestLabel"
25-
};
26-
Grid.SetRow(label, 0);
27-
grid.Children.Add(label);
20+
var label = new Label
21+
{
22+
Text = "Test",
23+
Background = Colors.Red,
24+
AutomationId = "TestLabel"
25+
};
26+
Grid.SetRow(label, 0);
27+
grid.Children.Add(label);
2828

29-
var button = new Button
30-
{
31-
Text = "button",
32-
Background = Colors.Blue
33-
};
34-
Grid.SetRow(button, 1);
35-
grid.Children.Add(button);
29+
var button = new Button
30+
{
31+
Text = "button",
32+
Background = Colors.Blue
33+
};
34+
Grid.SetRow(button, 1);
35+
grid.Children.Add(button);
3636

37-
var webView = new WebView
38-
{
39-
Source = "https://example.com/",
40-
BackgroundColor = Colors.Transparent,
41-
HeightRequest = 300,
42-
WidthRequest = 300
43-
};
44-
Grid.SetRow(webView, 2);
45-
grid.Children.Add(webView);
37+
var webView = new WebView
38+
{
39+
Source = "https://example.com/",
40+
BackgroundColor = Colors.Transparent,
41+
HeightRequest = 300,
42+
WidthRequest = 300
43+
};
44+
Grid.SetRow(webView, 2);
45+
grid.Children.Add(webView);
4646

47-
Content = grid;
48-
}
47+
Content = grid;
48+
}
4949
}

0 commit comments

Comments
 (0)