OpenEPaperLink / Home_Assistant_Integration

Home assistant Integration for the OpenEPaperLink project
Apache License 2.0
133 stars 32 forks source link

Support anchor for icons in drawcustom #68

Closed Schonhoffer closed 6 months ago

Schonhoffer commented 7 months ago

Is your feature request related to a problem? Please describe. When aligning text I can for instance make the anchor "right middle" (rm) and then just set the x/y to 291/64 to center and have the text be near the right margin. But for icons I cannot do that.

Describe the solution you'd like I would like to be able to specify an anchor for positioning when using an icon in drawcustom

Describe alternatives you've considered Just doing the x/y math manually for default anchor

Additional context I am willing to make the pull request if the idea sounds good to you

jonasniesner commented 6 months ago

should be fixed with the latest release