Thomas 2 anni fa
parent
commit
8371a74bf9
1 ha cambiato i file con 12 aggiunte e 5 eliminazioni
  1. 12 5
      UICatalog/Scenarios/Animation.cs

+ 12 - 5
UICatalog/Scenarios/Animation.cs

@@ -23,17 +23,24 @@ namespace UICatalog.Scenarios {
 		{
 		{
 			base.Setup ();
 			base.Setup ();
 
 
-			var x = 0;
-			var y = 0;
 
 
 			var imageView = new ImageView () {
 			var imageView = new ImageView () {
-				X = x,
-				Y = y++,
 				Width = Dim.Fill(),
 				Width = Dim.Fill(),
-				Height = Dim.Fill(),
+				Height = Dim.Fill()-2,
 			};
 			};
+
 			Win.Add (imageView);
 			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 dir = new DirectoryInfo(Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location));
 			
 			
 			var f = new FileInfo(
 			var f = new FileInfo(