Topic Author
Posts: 6
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
        <ToolBarTray DockPanel.Dock="Top">
And I get errors: Can't assign child to parent ToolBar.
[noesis] Assets/Xamls/Mono2DToolbar.xaml(12): Can't assign child to parent ToolBar.
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)

User avatar
Site Admin
Posts: 1852
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: sfernandez and 6 guests