Sets the Pos.Y later.

This commit is contained in:
BDisp
2023-02-28 22:27:40 +00:00
parent 4dfe16cd9a
commit f294adf4cc

View File

@@ -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 ();