[v3!] TopbarPlus v3.0.0 | Construct intuitive topbar icons; customise them with themes, dropdowns, captions, labels and much more

Here’s an official response from Ben:

1 Like
Solution

You can use Icon:setIndicator(nil) to hide it, but you have to wait until it is made before doing it. Here’s the code that worked for me.

repeat task.wait() until Icon.widget:WaitForChild("IconButton"):WaitForChild("Menu"):WaitForChild("IconSpot"):WaitForChild("Contents"):WaitForChild("Indicator"):WaitForChild("IndicatorButton")
Icon:setIndicator(nil)

How can I get rid of the Indicator or whatever it is at the end of my topbar icon?
image

Is there a way for me to change the IconImage Rotation?

I know there is a “Rotation” but i really don’t know how to change it on the Image. With this script

:modifyTheme({
	{"Dropdown", "Rotation", 45},
})

i did this:
image
maybe you can try changing around the “Dropdown”.

This changes the icon rotation, but it changes back to the original rotation after a few milliseconds

:modifyTheme({
	{"IconImage", "Rotation", 71},
})

I’ve already tried this and it doesn’t work.

its because TopbarPlus uses a UIListLayout to keep the frames and images in position, so that keeps the image from rotating.
image

The property changes when using this method but because of the UIListLayout it just wont turn

1 Like

Oh, i didn’t think of that. (charsssss)

1 Like

How do i make a icon inside a menu change the color to white when i click it? :modifyTheme won’t work.

Confused why this module doesn’t have any popups like literally everything else in luau… It makes it kinda hard to properly use

What do you mean by popups?..

I think they meant Intellisense

image

These things

Amazing work! Love the new updates, thought id share this. I could make a more simpler tutorial if you’d like.

5 Likes

Why do my icons duplicate? I placed the script in StarterPlayerScripts but it still does this.

My code:

local ReplicatedStorage = game:GetService("ReplicatedStorage")

local Icon = require(ReplicatedStorage:WaitForChild("IconV3"));

local topbarEvent = script.topbarEvent

local icons = {
	leaderboardIcon = nil,
	versionIcon = nil
}

icons.leaderboardIcon =  Icon.new():setImage(11347239269):bindToggleKey(Enum.KeyCode.Tab):setName("leaderboardIcon")
icons.leaderboardIcon.Visible = true;
icons.leaderboardIcon:bindEvent("selected", function(icon)
	topbarEvent:Fire("leaderboad", true)
end)
icons.leaderboardIcon:bindEvent("deselected", function(icon)
	topbarEvent:Fire("leaderboad", false)
end)

icons.versionIcon = Icon.new():setLabel("v" .. tostring(game.PlaceVersion)):setLabel("version" .. tostring(game.PlaceVersion)):setName("versionIcon")
icons.versionIcon:align("Right")
icons.versionIcon.locked = true
icons.leaderboardIcon.Visible = true
3 Likes

I have a use-case where I don’t want the PlayerList to be Enabled in certain circumstances, but I’ve noticed that with a right-aligned dropdown if someone opens the dropdown before I hide the PlayerList, it will automatically re-enable the PlayerList when they close it.

I know this may be a tricky fix, but I was wondering if you could add a way for us to communicate with the module and let it know that it doesn’t need to re-open certain CoreGUIs afterwards?

1 Like

@ForeverHD You stated the Wally package was fixed in version 3.0.1, it still remains broken in 3.0.2 and messes up your Package folder in Roblox Studio.

image

1 Like

is there any plans to add dropdown animations

@ForeverHD Can add a way for us to use modify theme to rotate the icon image?
Because you can’t right now because there is a uilistlayout preventing the rotation of the image.

:modifyTheme({
   {"Dropdown", "Rotation", 45},
})

I’m having the same issue as @TheREALAstonRich, whenever I reset my character, my icons duplicate.

image

Nevermind, fixed my problem by disabling reset on spawn