Btw if you haven’t found a solution somehow I was able to fix it by doing:
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local Modules = ReplicatedStorage:WaitForChild("Client_Modules")
local Icon = require(Modules.Icon)
local icon = Icon.new()
It’s inside a screen gui btw. I don’t think this matter though.
Is anyone else having trouble using :setWidth() for specific widgets, causing the GUI to flash in and out of existence? This only happens for me when the BaseTheme default widget is changed using Icon.modifyBaseTheme({}) or :modifyTheme({})
Yeah! Coincidentally I was curious about this too earlier.
You can do so by using the following line of code and just changing the three RGB values yourWidget:modifyTheme({{"Dropdown", "BackgroundColor3", Color3.fromRGB(0, 0, 0)}
I assume you could also use modifyBaseTheme if you want to change all of your dropdown colours but I haven’t tried it
Hey there, is there any way to limit the length of text/icons inside dropdowns/menus to have them be more consistent? I’ve tried all the methods in the documentation and I can’t seem to get them to stop doing that.
Right now I have to limit the length of the text in the dropdown icons, otherwise I end with dropdowns that cover too much sceen space as seen here:
It’d be nice to at least be able to limit the size of the dropdown to the one of the button itself.
Edit: For anyone having this issue, just leave the icon’s label blank, use :getInstance(“Widget”) and set the icon’s content yourself.
Also, I imagine this is out of scope, but would it perhaps be possible to support menus to the side of dropbars sort of like how studio does it so they can be stacked?
Currently when I try to do that I end up with this which is not quite the intended result:
The AutoLocalize feature does not seem to work correctly, whenever I change the language of the game, the size of the width does not appear to match the translated text.
Could you send me the line of code which you used to require the module? The one you’re using right now, and the one which gave you the issue of the top bar disappearing.
Not sure if This was already talked about since there are alot of comments, and also im not sure if my studio is bugging or not, but its not type checking, if my studio isnt bugging, is there a types folder out there or anything? if my studio is bugged then nvm!
Hey! I was wondering if anybody knew how to make it so that a button gets darker when someone clicks/holds down on the button (viewing and clicking at the same time but not selected). They do this in strongest battlegrounds and other games. It also happens on the normal roblox GUI (when you click on it, it gets darker momentarily).
(ps if anyone knows how to make the dropdowns smoothly show up then that would be great too)
no idea if i’m being a bit silly but for some reason when i click the mute music button and then press the console button afterwards it unmutes the music despite them being 2 different icons, yeah its kind of hard to explain.