riveranb
Topic Author
Posts: 10
Joined: 20 Aug 2019, 05:48

How to use ToolBarTray?

13 Nov 2019, 11:46

I saw official manual mentioned about ToolBarTray, and I can see ToolBarTray class in Noesis namespace.
However when I tried to use ToolBarTray, I got error in Unity editor.
My simple xaml just looks like this
    <DockPanel>
        <ToolBarTray DockPanel.Dock="Top">
            <ToolBar>
                
            </ToolBar>
        </ToolBarTray>
    </DockPanel>
And I get errors: Can't assign child to parent ToolBar.
[noesis] Assets/Xamls/Mono2DToolbar.xaml(12): Can't assign child to parent ToolBar.
UnityEngine.Debug:LogError(Object)
Does that mean currently not support ToolBarTray for Unity? Or did I do something wrong?

(I am using NoesisGUI v2.2.4 and Unity2019.2.3)

Tags:
 
User avatar
sfernandez
Site Admin
Posts: 1912
Joined: 22 Dec 2011, 19:20

Re: How to use ToolBarTray?

13 Nov 2019, 12:20

Unfortunately ToolBarTray is not yet implemented in Noesis.
If you are interested in having this control please add a ticket to our bugtracker.

In the meantime you can maybe just stack the ToolBars in a StackPanel, although you won't have the draggable toolbar feature.

Who is online

Users browsing this forum: Google [Bot] and 0 guests