summaryrefslogtreecommitdiff
path: root/reference/csharp/snippets/Efl.Ui.Scroller.cs
blob: 91f30d5def91f414b80b4bae40e76f4b0a3fa7fb (plain)
1
2
3
4
5
6
7
8
9
10
Efl.Ui.Scroller scroller = new Efl.Ui.Scroller(parent);

// Create a large image to put it inside the scroller
Efl.Ui.Image image = new Efl.Ui.Image(scroller);

image.SetHintSizeMin(new Eina.Size2D(1000, 1000));
image.SetFile(image_path + "image.png");
image.Load();

scroller.SetContent(image);