Moode Forum
Changing scaling on a local display - Printable Version

+- Moode Forum (https://moodeaudio.org/forum)
+-- Forum: moOde audio player (https://moodeaudio.org/forum/forumdisplay.php?fid=3)
+--- Forum: Support (https://moodeaudio.org/forum/forumdisplay.php?fid=7)
+--- Thread: Changing scaling on a local display (/showthread.php?tid=6858)



Changing scaling on a local display - music_lover - 08-29-2024

Hi!
I have a HDMI display with a resolution of 720x1560. I connected it to a Raspberry Pi 5 with moode installed.
The problem is that the user interface does not fit on this display: the buttons below the volume control are not visible. I can change the scale with the ctrl +/- keys, but it does not save after reboot.
Please tell me what settings I need to make so that the interface immediately loads with the desired scaling.


RE: Changing scaling on a local display - Tim Curtis - 08-29-2024

That's a very strange resolution.

What make and model is the display?


RE: Changing scaling on a local display - music_lover - 08-29-2024

This is the display: https://www.waveshare.com/6.25inch-720x1560-lcd.htm


RE: Changing scaling on a local display - Tim Curtis - 08-29-2024

That resolution would need to be added to the "Ultrawide displays" section of the media css.

Before
[attachment=4011]

After
[attachment=4012]

What do you think?


RE: Changing scaling on a local display - music_lover - 08-29-2024

I think "after" is quite good!

Please tell me the path to this file.


RE: Changing scaling on a local display - Tim Curtis - 08-29-2024

The source file is /var/www/css/media.css but it's bundled with other css files and minified for deployment. Producing the "After" layout requires not only adding the correct viewport resolution but also changing the font size for a few elements. I'll include this in upcoming 9.0.9 release.

On the image the media.css code is contained in /var/www/css/styles.min.css


RE: Changing scaling on a local display - music_lover - 08-29-2024

Thank you very much!

Is it possible to somehow set the scaling when launching the chromium browser? I like how the interface looks at 250% scale.


RE: Changing scaling on a local display - steve4star - 08-29-2024

(08-29-2024, 02:02 PM)music_lover Wrote: Thank you very much!

Is it possible to somehow set the scaling when launching the chromium browser? I like how the interface looks at 250% scale.

I am away from my system, but the following demonstrates how to change the scale/zoom…

https://forums.raspberrypi.com/viewtopic.php?t=258499


RE: Changing scaling on a local display - music_lover - 09-08-2024

(08-29-2024, 02:20 PM)steve4star Wrote:
(08-29-2024, 02:02 PM)music_lover Wrote: Thank you very much!

Is it possible to somehow set the scaling when launching the chromium browser? I like how the interface looks at 250% scale.

I am away from my system, but the following demonstrates how to change the scale/zoom…

https://forums.raspberrypi.com/viewtopic.php?t=258499

Thanks, but that's not what I need. It resizes a rectangular area that is displayed on the screen, for example, it can be useful when the image takes up half the screen.

What I need is to resize elements inside that area, like keyboard Ctrl+/Ctrl-.