08-16-2019, 08:45 PM
(08-16-2019, 07:35 PM)swizzle Wrote: It’s possible to scale things non-uniformly in css (see https://developer.mozilla.org/en-US/docs...tion/scale) but using whole page transforms can and usually does lead to other problems. If those lines added to config.txt fix the problem then a mechanism (aka button) that would add those lines in the localui section seems like the best solution.
If you don’t care about everything else being stretched and it’s just the album art that’s annoying we could add a non-uniform scale factor as above to the cover art in pi touchscreen css.
I'm not the one doing the coding, but it feels wrong to make up for this problem in the CSS. What if another device becomes popular which has yet another pixel "shape"? Fixing the aspect ratio of the display in the localui section so you need code moOde screens just once for square pixels would seem sensible.
Regards,
Kent