#how do you change border color?
1 messages · Page 1 of 1 (latest)
inside of ui folder
you should have
border color
border color hover
border color pressed
if i’m right
oh
no
nope focus border is the one when you hover on a button
the white border
the border of the gui is in textures/ui
and its called
dialog_background_hollow_3
you need to make a custom form
before doing what you want to do, i would suggest to watch these videos and learn, they are kinda easy, and it provides the code in the description
json ui #1
json ui #2
oh ok
well then start by making your texture
either ninesliced or not
depends on what you need
well if it was ninesliced you couldve just make a custom dialog, but if you dont want to, then you can just make the original background invisible, and you add an image element in the controls of the panel
and you can change the size, offset etc
yeah
depends for the ui
add a custom elemenent
in the custom panel
which is an image element
and put your image in it
isny iy should in control?
You can change the texture by
"$custom_background": "namespace.image element"