Shifting of GUI buttons and labels

Hi, I have trouble shifting my GUI buttons around. I encountered the following problem while trying to implement padding into the style of the button:

UR_button

Below is the code I use:

UR_button_code

Thank you!

Your issue right now is that the padding is affecting the text. If you want to put padding on the buttons then put the <input id = “disableButton” into a div component then add the padding to the div component.

Here is an example.

image

CSS:
image

The style for #Variable impacts the size of the inputTextField while the #Button shifts the inputTextField over 50px

3 Likes

Hi Roman,

Thank you so much, got it working!

1 Like