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

Do :setAlign(alignment)
change the alighment to Left Center or Right

1 Like

Is it possible to make conditional-based dropdown options? I have two different :SetIcon() in the dropdown and I only want both of them to have a different conditional to show on the dropdown.

1 Like

Unsure why, but latest version of wally package does not work with rojo. It installs the package in my files correctly, but trying to connect to a place doesn’t sync. 100% related to this package, as removing it clears all issues

3 Likes

For some reason, when the “Icon” Module is required. It catches a error from “Roact”

This happens from JUST requiring it. Latest version and placed in replicated storage. No modifications.

Do you know what this is?

1 Like

I second this, I recently imported TopBarPlus V3.0.0 into my game, when I tried to require it, it showed that exact error. However, once it shows up my icons still seem to work.

Sure, my game still works out correctly… but I don’t want an error pop up each time a client joins the game to eventually show up in the error report.

1 Like

Yeah, Seems like the OP hasnt been active recetnly. Hoppefully he can fix it or else ill be forced to do all that boring searching myself…

1 Like

how do i make right alignment overflow to default as false in isEnabled? Is it just me or is the Caption + Overflow is a mess since the dynamic scaling of screen sizes and people resizing there windows, the caption refuses to stay under its icon.

1 Like

use :call(function(Icon)
what ever conditionals
end)

TopBarPlus has started to completely lose functionality.

Bugs:

  1. Runtime error (Roact).
  2. No longer sorts (Depends on constructor class).
  3. Loses functionality with UI interactivity randomly.
  4. Does not detect new Voice Chat Icon.

Fix:

  1. Find a new maintainer.
  2. Fix it @ForeverHD.
  3. Retire project.
5 Likes

Hi, I love TopBar Plus, I think it’s a great idea, but when I was using it today, I’m experiencing a slight issue. So when I was testing it inside of Studio, I noticed that the UI is duplicating.

I am making a Menu selection for my UI so the player doesn’t have like 50 buttons on their screen, but the menu is duplicated even though I only put the code in there once. I honestly can’t figure out why it’s duplicating everything.

1 Like

I’m having the same problem, I saw a comment somewhere in this thread that the “solution” was to move the script to Workspace/ReplicatedStorage, that worked for me.

It’s not really a solution, more of a workaround and maybe I need to find a way to solve it, since it breaks the organization I set up for my scripts a bit.

PS: It was in StarterPlayerScripts without ResetOnSpawn enabled so I don’t think that’s the issue (as OP mentioned it in other replies)

1 Like

What script do we move? I moved the Icon script into game.ReplicatedStorage.

1 Like

I moved the localscript & the icon script to the Replicated Storage

2 Likes

Will it still work properly if the local script is in game.ReplicatedStorage? I’ve never put a local script there before.

What the hell, it worked. I fail to see how just moving it a little fixes it…

2 Likes

I can confirm that, I have the exact same issue. Can you fix the wally package @ForeverHD ? :slight_smile:

Thanks!

3 Likes

Apologies in advance for the n00b question but given the following dropdown:

Icon.new()
    :setLabel("Example")
    :modifyTheme({"Dropdown", "MaxIcons", 3})
    :modifyChildTheme({"Widget", "MinimumWidth", 158})
    :setDropdown({
        Icon.new()
            :setLabel("Category 1")
        ,
        Icon.new()
            :setLabel("Category 2")
        ,
        Icon.new()
            :setLabel("Category 3")
        ,
    })

How do I automatically close the dropdown once an item is selected?

I’ve attempted:

:setDropdown({
        Icon.new()
            :setLabel("Category 1")
            :bindEvent("selected" ,function(icon)
			print("selected")
            icon:deselect() -- I also tried icon:oneClick()
		end)

without success.

You need to deselect the I think it’s called widget?

local myMainIcon = Icon.new() -- ... args

myMainIcon:setDropdown({
    Icon.new():bindEvent("selected", function(self)
        myMainIcon:deselect()
    end)
})
1 Like

Is there any interest in implementing tracking to the player’s preferred transparency setting? The icons look out of place whenever the setting is set to opaque:

(excuse the game I’m showcasing this on)

The way to track it would be to use GuiService’s PreferredTransparency property

I’d do this myself but I honestly am not fully sure of how the whole module/class functions

4 Likes

Perfect! Thank you so much for the help.

Any idea how to fix this console errors?