mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2026-01-02 01:03:29 +01:00
Sets the Pos.Y later.
This commit is contained in:
@@ -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 ();
|
||||
|
||||
Reference in New Issue
Block a user