PluginGuiWidget can't dock to viewport tabs?

Hi guys, I noticed I can’t drag & drop my Datastore plugin widget onto the same dock as my viewport. Is this a glitch or is this intentional? Can I modify my widget in the script to make it capable of docking there? Thanks!

Here’s an example of what I’m talking about:

https://gyazo.com/613dd492b6560f41526dcda86f4fab49.gif

Ideally I’d want to make this a new tab, but as much as I try to place it there, it won’t let me drop it. Any ideas?

1 Like

I’d definitely want this - the whole reason I made Crazyman32’s plugin a widget is because when he used a CoreGui, it made the UI editor select things behind the coregui (buttons in the startergui). This caused problems because I’d accidentally drag things and have to put them back. I’m sure this is probably true for all plugins, so a new tab on the viewport would definitely be nice. I don’t think, however, that we need an entirely new API function for this. I think CreateDockedWidgetPluginGui would be fine to use as long as there’s an Enum.InitialDockState.Middle.

1 Like