Text boxes not showing/working inside of dockwidgets

  1. What do you want to achieve? Keep it simple and clear!

I want the my plugin to create a textbox inside a frame.

  1. What is the issue? Include screenshots / videos if possible!

The problem is that. The plugin creates everything. But the textbox isnt working correctly… Like you cant see its background or interact with it.

  1. What solutions have you tried so far? Did you look for solutions on the Developer Hub?

And yes. I have looked around here on the dve forum(And a bit on scripting helpers). But didnt find anything useful.

Plugin code:

local Bar = plugin:CreateToolbar("Stuff", "", "")


local But = Bar:CreateButton("HI", "", "")


local Widget = DockWidgetPluginGuiInfo.new(
	Enum.InitialDockState.Top,
	false,
	false,
	150,
	100,
	50,
	100
)


local Window = plugin:CreateDockWidgetPluginGui(math.random(1, 10000000), Widget)


function CREATE_BUTTONS(WIDGET)
	local Holder = Instance.new("Frame")
	Holder.BackgroundColor3 = Color3.new(0, 1, 1)
	Holder.Size = UDim2.fromScale(1, 1)
	Holder.Parent = WIDGET
	
	
	local Box = Instance.new("TextBox")
	Box.BackgroundColor3 = Color3.new(0, 0, 0)
	Box.BorderSizePixel = 0
	Box.Position = UDim2.fromScale(0.5, 0.5)
	Box.Parent = Holder
	
	
	
end


But.Click:Connect(function()
	Window.Enabled = not Window.Enabled
	CREATE_BUTTONS(Window)
end)

Any help would be highly appreciated as always :smiley:

1 Like

OP, do not listen to the troll. He got terminated and he is trolling because the moderators dint ban him yet. Just do not interact with the kid

4 Likes

Oh well that explains a lot lol

2 Likes