EssentialGG / Vigilance

Configuration Utility using Elementa
GNU Lesser General Public License v3.0
54 stars 12 forks source link

How can I change the width and height of config components? #39

Closed CommandCracker8 closed 2 years ago

CommandCracker8 commented 2 years ago

Hiya

When I use .setHeiight or .setWidth it doesn't work properly, what should I do?

Sychic commented 2 years ago

The config components generated in vigilance's guis are constrained by vigilance itself and not intended to be modified.

CommandCracker8 commented 2 years ago

Ah okay. I was only using it for an Elementa GUI so I can copy the code and just change it myself :) Assuming your license allows that?

Sychic commented 2 years ago

Wait are you talking about within vigilance's gui or your own gui? If it's your own gui you should be able to constrain it (depending on which one it is)

CommandCracker8 commented 2 years ago

My own GUI

Sychic commented 2 years ago

And which component?

CommandCracker8 commented 2 years ago

SliderComponent

Sychic commented 2 years ago

Ah yeah that one has some weird constraining issues. You'd probably want to copy and modify but make sure you comply with Vigilance's License

CommandCracker8 commented 2 years ago

Okay. Anything specific I should look out for?

Sychic commented 2 years ago

The Lesser GNU Public License is a GPL variant which all require you to use the same (or another GPL) license. Also in the future, asking in the discord would suffice.

CommandCracker8 commented 2 years ago

Okay 👍