We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug Referencing a root Pos/Dim from a recursive nested views will throws a TopologicalSort exception.
Pos/Dim
TopologicalSort
To Reproduce Steps to reproduce the behavior: Running this code will throw the error.
Application.Init (); var top = Application.Top; var win = new Window (); var view1 = new View ("View1") { Id = "view1", X = Pos.Left (win) + 1, Y = Pos.Top (win) + 1, Width = Dim.Width (win) - 2, Height = Dim.Height (win) - 2 }; var view2 = new View ("View2") { Id = "view2", X = Pos.Left (win) + 2, Y = Pos.Top (win) + 2, Width = Dim.Width (win) - 4, Height = Dim.Height (win) - 4 }; view1.Add (view2); win.Add (view1); top.Add (win); Application.Run (top); Application.Shutdown ();
Expected behavior Running without throw any exception when the root in the tree isn't null from the nested view.
The text was updated successfully, but these errors were encountered:
Fixes gui-cs#2382. Nested views throws TopologicalSort exception if t…
d458db1
…hey reference Pos/Dim to the root view.
Merge gui-cs#2382 into gui-cs#2379.
301567b
932aca8
Closing this because the fix was included in the v2 on PR #2385.
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Describe the bug
Referencing a root
Pos/Dim
from a recursive nested views will throws aTopologicalSort
exception.To Reproduce
Steps to reproduce the behavior:
Running this code will throw the error.
Expected behavior
Running without throw any exception when the root in the tree isn't null from the nested view.
The text was updated successfully, but these errors were encountered: