2
0
Thomas 2 жил өмнө
parent
commit
8371a74bf9

+ 12 - 5
UICatalog/Scenarios/Animation.cs

@@ -23,17 +23,24 @@ namespace UICatalog.Scenarios {
 		{
 			base.Setup ();
 
-			var x = 0;
-			var y = 0;
 
 			var imageView = new ImageView () {
-				X = x,
-				Y = y++,
 				Width = Dim.Fill(),
-				Height = Dim.Fill(),
+				Height = Dim.Fill()-2,
 			};
+
 			Win.Add (imageView);
 
+			var lbl = new Label("Image by Wikiscient"){
+				Y = Pos.AnchorEnd(2)
+			};
+			Win.Add(lbl);
+
+			var lbl2 = new Label("https://commons.wikimedia.org/wiki/File:Spinning_globe.gif"){
+				Y = Pos.AnchorEnd(1)
+			};
+			Win.Add(lbl2);
+
 			var dir = new DirectoryInfo(Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location));
 			
 			var f = new FileInfo(