About style of the Button - Forum

Forum Navigation
You need to log in to create posts and topics.

About style of the Button

Hi to all.

in the style button tab I tried to change the DIRECTION properties but nothing happens.
Because ?

 

@blustar I'm not sure how it should work, but I think nothing happens because the text is centered by default.
Try using text-align too.

BluStar has reacted to this post.
BluStar

I take this opportunity to ask one more thing: is there a command to stop the script ?

@blustar as JavaScript (the underlaying language) is multithreaded, it's not possible to stop the script.
The only way I'm aware of is using jsAlert command. The main thread script will stop until the user closes the alert.
This could be useful for debugging but most people use Consolelog or ConsoleTable instead.
If you are running a subroutine and want to exit, use Return.

Why do you need to stop the script?

Regards.

javadrajabihakami has reacted to this post.
javadrajabihakami