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: (Not My Release) How do I control the border width of a $textbutton? (Read 1067 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

(Not My Release) How do I control the border width of a $textbutton?

Quote
$textbutton($sub($muldiv(%ps_width%,9,32),1),$sub($muldiv(%ps_height%,13,16),2),$div($get(panel.w),8),$muldiv(%ps_height%,9,128),,,SETGLOBAL:do.display.switch:$ifequal(%do.display.switch%,1,2,1);REFRESH,pencolor:0-0-0-255,pencolor:0-0-0-255 brushcolor:255-255-255-16)

The above code is from Tedgo's Darkone. (The 2016 version, not the 2019 Beta) It draws a rectangular border that looks like a button and acts as a switch for the Visual function. Is there any way to make the black border thicker?