Skip to content
New issue

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

[API] GetChildElementById doesn't work with SplitGrid #1406

Open
jerone opened this issue Sep 22, 2024 · 0 comments
Open

[API] GetChildElementById doesn't work with SplitGrid #1406

jerone opened this issue Sep 22, 2024 · 0 comments
Labels
app-kind:GUI bug Something isn't working untriaged

Comments

@jerone
Copy link

jerone commented Sep 22, 2024

Current behavior

GetChildElementById is not able to find element for pane children within the SplitGrid.

It works for any other child.

How to reproduce it

public UIToolView View
{
    get
    {
        return new UIToolView(
            SplitGrid()
              .WithLeftPaneChild(Button("custom-id-1"))
              .WithRightPaneChild(DataGrid("custom-id-2"))
        );
    }
 }
var element1 = Gui.View.GetChildElementById("custom-id-1"); // null
var element2 = Gui.View.GetChildElementById("custom-id-2"); // null

Expected behavior

Expect element with id to be found within SplitGrid.

Affected DevToys kind

DevToys (app with GUI)

DevToys Version

Version 2.0-preview.5

@jerone jerone added bug Something isn't working untriaged labels Sep 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
app-kind:GUI bug Something isn't working untriaged
Projects
None yet
Development

No branches or pull requests

1 participant