You can now prefix a size with % and it will do percentage for the size, even over 100.

This commit is contained in:
Zed A. Shaw 2025-02-15 12:52:26 -05:00
parent d558da1620
commit c03a384372
6 changed files with 60 additions and 46 deletions

View file

@ -12,7 +12,7 @@ TEST_CASE("test basic ops", "[lel]") {
bool good = parser.parse(
"[ label_1 | label3 | test1]"
"[ *(300,300)text1 | (150)people | ^test2]"
"[ *(300,300)text1 | %(150)people | ^test2]"
"[ >label2 | _ | .test3]"
"[ =message | buttons | test4]");