Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: JScript Panel (Read 181238 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Re: JScript Panel

Reply #1075
Hello!

Can you please tell how to remove "spaces" from sides of the Text Display panel?
And (maybe) make text scrollable?
(see screenshot comparison with old Text Display component).

 

Re: JScript Panel

Reply #1076
You can get rid of the left/right margins by adding this at the start of the script

Code: [Select]
LM = 0;

or

Code: [Select]
LM = _scale(2); // or some other low value, 5 is the default

The text should already be scrollable with your mouse wheel. That arrow is also clickable but more cumbersome.

Re: JScript Panel

Reply #1077
You can get rid of the left/right margins by adding this at the start of the script

Code: [Select]
LM = 0;


Thanks, that worked, but only for left/right margin. What about top (it's more crucial)? =)

Scrolling doesn't work, but that maybe because of plugin Flowin, I guess (old one just shows scrollbar, though).