#how do you change border color?

1 messages · Page 1 of 1 (latest)

errant hamlet
#

_global_variables.json

#

inside of ui folder

#

you should have
border color
border color hover
border color pressed

#

if i’m right

errant hamlet
#

white part the surrounds the form?

#

mind showing a picture of what you mean

errant hamlet
#

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

errant hamlet
#

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

errant hamlet
#

add a custom elemenent

#

in the custom panel

#

which is an image element

#

and put your image in it

versed moth
#

isny iy should in control?

smoky tapir
#

You can change the texture by
"$custom_background": "namespace.image element"