On watch faces in the hmUI.widget.TEXT_IMG widget the image is cropped out #271
SashaCX75
started this conversation in
Developer Feedback
Replies: 2 comments
-
I forgot to mention that I tested it on a GTR 4. |
Beta Was this translation helpful? Give feedback.
0 replies
-
New_Project.zip |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
If in "hmUI.widget.TEXT_IMG" widget the "h_space" parameter is greater than 0, the right edge alignment is enabled and the image is used for the "unit_en" parameter, the displayed data is shifted to the left of the X coordinate of the widget. And the part of the image that is to the left of the X coordinate is not displayed (cropped).
This may not be noticeable if the display of leading zeros (padding: true) is not enabled and the number of displayed characters is small.
Also this combination of parameters affects the display if centre alignment is enabled.
In the image All widgets have the same X coordinate. At the top is the time and it is displayed correctly. At the bottom there are "hmUI.widget.TEXT_IMG" widgets for charge, steps and other things and you can see that they are offset and cropped.
Beta Was this translation helpful? Give feedback.
All reactions