BDisp 2 роки тому
батько
коміт
f294adf4cc
1 змінених файлів з 3 додано та 1 видалено
  1. 3 1
      UICatalog/Scenarios/BordersOnContainers.cs

+ 3 - 1
UICatalog/Scenarios/BordersOnContainers.cs

@@ -16,7 +16,7 @@ namespace UICatalog.Scenarios {
 			var effect3D = true;
 
 			smartView.X = Pos.Center ();
-			smartView.Y = Pos.Center () + 4;
+			smartView.Y = 0;
 			smartView.Width = 40;
 			smartView.Height = 20;
 			smartView.Border = new Border () {
@@ -243,6 +243,8 @@ namespace UICatalog.Scenarios {
 			};
 			Add (replaceBorder);
 
+			smartView.Y = Pos.Center () + 4;
+
 			Add (new Label ("BorderStyle:"));
 
 			var borderStyleEnum = Enum.GetValues (typeof (BorderStyle)).Cast<BorderStyle> ().ToList ();