07-14-2018 21:12 - edited 07-14-2018 22:16
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post


07-14-2018 21:12 - edited 07-14-2018 22:16
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
index.gui:
<svg> <image class="ramp" x="1" y="196" width="55" height="8" href="triangle.png" fill="white" load="sync" /> <image class="ramp" x="101" y="196" width="55" height="7" href="triangle.png" fill="white" load="sync" /> </svg>
Given a triangle.png of 348x250, both images are drawn on the simulator (Versa and Ionic). However, the second image is not drawn on a real Ionic. The critical factor is the height: above 7, the image is displayed correctly; at or below 7, nothing.
Same problem if using a .TXI.
It would be rather good if the physical devices behaved correctly in this regard, like the simulator.
I can provide a minimal but complete project to demonstrate this behaviour.
Gondwana Software

07-16-2018 14:06
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post


07-16-2018 14:06
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Resizing images at runtime is a bit problematic on such a low powered device. It's probably best to use the correct image sizes.

07-16-2018 14:13
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post


07-16-2018 14:13
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Thanks for the reply Jon, but I need some display graphics to be dynamic because they depend on exercise targets and achievement. Strangely, some images work fine and others don't (all else being equal). I'm not yet sure what the critical factor is.
Gondwana Software

