Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

TextButton/TextLabel Border removal?

Asked by 9 years ago

You see when you create a TextButton/TextLable through a script and It spawns with a black border around it? Is it possible to remove that? If so how?

0
Why the down vote? 64batsalex 45 — 9y

3 answers

Log in to vote
0
Answered by 9 years ago

Yes It Is Possible...

All you have to do to access the properties of the TextButton/TextLabel like this

game.StarterGui.ScreenGui.TextButton.BorderSizePixel = 0

This will remove the black border around the TextButton/TextLabel.

GreekGodOfMLG

Ad
Log in to vote
1
Answered by 9 years ago

In the properties of the GUI, (open Properties from View), there will be something called BorderSizePixel. Change it to 0.

0
Thank you. 64batsalex 45 — 9y
0
wtf who downvoted this for no reason.... HungryJaffer 1246 — 9y
Log in to vote
0
Answered by 9 years ago

Yes, TextButtons and TextLabels have a property called BorderSizePixel, you can set that to 0.

-- they got money for dem wars, but can't feed the poor - 2pac

Answer this question