You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently element_text supports numbers and lists for parameters.
Numbers make sense but the list implementation is quite confusing in my opinion. Support for a dictionary that takes "top", "bottom", "left", "right" and/or "t", "b", "l", "r" as keys and a number as a value would be a very clean implementation.
The text was updated successfully, but these errors were encountered:
Thank you, this might be a good suggestion.
The current implementation however follows an established pattern from CSS in web development, where margins can be specified using either a single value or a list following the top-right-bottom-left order.
So, I'm not quite sure about dictionary-based margins at the moment.
I am just opening issues for suggestions but at the end of the day the library is at an amazing spot so even with most of these ideas being unfeasible it would still be great.
Currently
element_text
supports numbers and lists for parameters.Numbers make sense but the list implementation is quite confusing in my opinion. Support for a dictionary that takes
"top", "bottom", "left", "right"
and/or"t", "b", "l", "r"
as keys and a number as a value would be a very clean implementation.The text was updated successfully, but these errors were encountered: