Plugin UI Toolkit

Could you add an option to change the background, and the top bar/button colours?

I really like this idea, and I’ll be sure to use it!

Those are all customizable!

1 Like

jeebers you reminded me I accidently wiped my plugin UI lib from my computer several months ago :frowning:
I should probably restart that project.

In your code examples, why does the error dialog not have title customization? Or is that a flaw in the example?

That’s by design. You still have access to UI.YieldDialog, see the implementation of ErrorDialog if you want to do a different title per dialog!

If you need any help with this or need ideas, I made a plugin called Color+, which has 3 different color pickers.

1 Like

Some progress updates:



The code used to make this:

local UI = require(script.Parent:WaitForChild("UI"))


if UI.YesNoDialog("Continue?", "Would you like to open the listview and splitter test window?") then
	local window = UI.BaseWindow("Test Window", 100, 100, 200, 200, function() 
		UI.WarnDialog("Warning!", "You closed the window. Just thought you should know.")
	end, true, true)
	window:fillParent(200)
	
	local vertSplit = UI.VerticalSplit(window.content, 0.2, true)
	local horzSplit = UI.HorizontalSplit(vertSplit.left, 0.2, false)
	
	UI.Label(horzSplit.top, "The splitter to the right of this text can be dragged!")
	
	local list = UI.ListView(horzSplit.bottom, 30, false, true, false, true, true)
	for i = 1, 100 do
		local item = list:newItem()
		UI.FillLabel(item.frame, "Item " .. i, 10, true)
	end
end

Buttons are a bit big, but other than that it looks fantastic

Kind of bothering that the padding between the vertical edges is different from the padding between the horizontal edges when it comes to the buttons at the bottom of popups

1 Like

Well, they’re large and easy to click on. It’s meant for productivity rather than a game UI. I wouldn’t recommend using it for a game!

Better?

Kind of. Padding between the Yes/No buttons is different still.

Not sure I like this, seems wasteful.

1 Like

Here’s the image you just posted:

Notice how the vertical padding is 15p but the horizontal is 20p? That looks awkward because it switches up formatting. By equal padding, I mean they should be the same all around, like this:

You don’t have to increase the padding to 20 like you did in that image. 15 was fine – you just needed it to be 15 across the board.

Oh, I was in a hurry, didn’t notice it still wasn’t right. I’ll check it out later, lunch is over!

I should chime in that I’ve very interested. Some of the things you have listed as “planned to include” are important to me, such as list views (which recycle elements), custom textboxes, etc.

I have a build tool project with which I’m messing around a bit, but it definitely needs a good plugin solution so I don’t spend all my time debugging small issues in guis and so that I feel more comfortable using more advanced widgets which might better suit the situation. For example, using a number slider instead of a textbox for inputting your resizing increment is super desirable (way faster; more productive), but because it’s harder to code, I’m less likely to use it. :stuck_out_tongue:

I’m working on a gui solution of my own, but I would rather use someone else’s as it would streamline the process. Do you have an ETA as to when this is completed?

For the time being, I’ll work on my own solution, but I may switch over if you surpass me in development. I’m not making the fastest progress. :stuck_out_tongue:

I’m developing mine primarily for a tool for my team on Dragonlore to use for content production. There’s a lot of variable tweaking and text writing, so it needs to be top-notch and done quickly!

I don’t really have an ETA since “done” is probably pretty fuzzy. I’ll just keep adding features as I think of them. I’m taking great care to make sure the user experience is 100% solid, so it’s not the fastest development ever. I would guess that the core features should be in by the end of this weekend.

You can already take the model if you didn’t already see the link. I’ve been documenting some of the API inline, but I think I might rip all of that out and throw it in a ReadTheDocs site on Github or something.

Since there’s more interest than I initially expected, I’m going to get a little more organized with this and probably start a Trello board to track progress!

Me like :heart_eyes:

No reason to make this studio-only if you plan on adding custom styles though.

1 Like

Eh, you can use it outside of Studio, I suppose; there’s nothing stopping you!

I’m seriously considering redoing all my plugins with this system, thanks a lot. >:(

1 Like