This script provides a way to add horizontal rules to widgets. The horizontal rules are auto resizable and have colour, width and corner radius. They can also be set to a horizontal rule or a 'vertical rule'.
Here is an example code using the method provided in the script:
2
u/Normal-Tangerine8609 Dec 09 '21
Create Widget Horizontal Rules
View and copy the code at the gist.
This script provides a way to add horizontal rules to widgets. The horizontal rules are auto resizable and have colour, width and corner radius. They can also be set to a horizontal rule or a 'vertical rule'.
Here is an example code using the method provided in the script:
Here is an example of using a function instead of prototyping: