mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2025-12-26 15:57:56 +01:00
* Initial plan * Remove LineView and replace all usages with Line - Deleted LineViewExample.cs scenario - Deleted LineViewTests.cs test file - Replaced LineView with Line in all examples (CollectionNavigatorTester, FileDialogExamples, LineExample, Wizard) - Replaced LineView with Line in all tests (ViewTests, TileViewTests) - Changed TileViewLineView to inherit from Line instead of LineView - Removed LineView.cs file - Removed LineView category from TileViewNesting scenario Co-authored-by: tig <585482+tig@users.noreply.github.com> * Remove LineView references from documentation - Updated Line.cs XML documentation to remove comparison with LineView - Removed LineView section from views.md documentation Co-authored-by: tig <585482+tig@users.noreply.github.com> * Fixes Wizard (#4269) * fixed Wizard * Made Line use GetAttributeForRole --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: tig <585482+tig@users.noreply.github.com> Co-authored-by: Tig <tig@users.noreply.github.com>
This commit is contained in:
@@ -62,7 +62,7 @@ public class FileDialogExamples : Scenario
|
||||
x = 24;
|
||||
|
||||
win.Add (
|
||||
new LineView (Orientation.Vertical) { X = x++, Y = 1, Height = 4 }
|
||||
new Line { Orientation = Orientation.Vertical, X = x++, Y = 1, Height = 4 }
|
||||
);
|
||||
win.Add (new Label { X = x++, Y = y++, Text = "Caption" });
|
||||
|
||||
@@ -74,7 +74,7 @@ public class FileDialogExamples : Scenario
|
||||
x = 34;
|
||||
|
||||
win.Add (
|
||||
new LineView (Orientation.Vertical) { X = x++, Y = 1, Height = 4 }
|
||||
new Line { Orientation = Orientation.Vertical, X = x++, Y = 1, Height = 4 }
|
||||
);
|
||||
win.Add (new Label { X = x++, Y = y++, Text = "OpenMode" });
|
||||
|
||||
@@ -86,7 +86,7 @@ public class FileDialogExamples : Scenario
|
||||
x = 48;
|
||||
|
||||
win.Add (
|
||||
new LineView (Orientation.Vertical) { X = x++, Y = 1, Height = 4 }
|
||||
new Line { Orientation = Orientation.Vertical, X = x++, Y = 1, Height = 4 }
|
||||
);
|
||||
win.Add (new Label { X = x++, Y = y++, Text = "Icons" });
|
||||
|
||||
@@ -101,7 +101,7 @@ public class FileDialogExamples : Scenario
|
||||
x = 24;
|
||||
|
||||
win.Add (
|
||||
new LineView (Orientation.Vertical) { X = x++, Y = y + 1, Height = 4 }
|
||||
new Line { Orientation = Orientation.Vertical, X = x++, Y = y + 1, Height = 4 }
|
||||
);
|
||||
win.Add (new Label { X = x++, Y = y++, Text = "Allowed" });
|
||||
|
||||
@@ -113,7 +113,7 @@ public class FileDialogExamples : Scenario
|
||||
x = 45;
|
||||
|
||||
win.Add (
|
||||
new LineView (Orientation.Vertical) { X = x++, Y = y + 1, Height = 4 }
|
||||
new Line { Orientation = Orientation.Vertical, X = x++, Y = y + 1, Height = 4 }
|
||||
);
|
||||
win.Add (new Label { X = x++, Y = y++, Text = "Buttons" });
|
||||
|
||||
|
||||
Reference in New Issue
Block a user