Skip to content

Commit 027aef8

Browse files
Shalini-Ashokanjsuarezruiz
authored andcommitted
Modified the test case
1 parent 3f14acf commit 027aef8

File tree

3 files changed

+23
-21
lines changed

3 files changed

+23
-21
lines changed
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
namespace Maui.Controls.Sample.Issues;
2+
3+
[Issue(IssueTracker.Github, 25558, "ImageButton does not scale Image correctly", PlatformAffected.Android)]
4+
public class Issue25558 : ContentPage
5+
{
6+
public Issue25558()
7+
{
8+
var verticalStackLayout = new VerticalStackLayout
9+
{
10+
Padding = 10
11+
};
12+
13+
var imageButton = new ImageButton
14+
{
15+
AutomationId = "imageButton",
16+
Source = "groceries.png",
17+
BackgroundColor = Colors.Blue
18+
};
19+
20+
verticalStackLayout.Add(imageButton);
21+
Content = verticalStackLayout;
22+
}
23+
}

src/Controls/tests/TestCases.HostApp/Issues/Issue25558.xaml

Lines changed: 0 additions & 11 deletions
This file was deleted.

src/Controls/tests/TestCases.HostApp/Issues/Issue25558.xaml.cs

Lines changed: 0 additions & 10 deletions
This file was deleted.

0 commit comments

Comments
 (0)