Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Changing scaling on a local display
#1
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.
Reply
#2
That's a very strange resolution.

What make and model is the display?
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#3
This is the display: https://www.waveshare.com/6.25inch-720x1560-lcd.htm
Reply
#4
That resolution would need to be added to the "Ultrawide displays" section of the media css.

Before
   

After
   

What do you think?
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#5
I think "after" is quite good!

Please tell me the path to this file.
Reply
#6
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
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#7
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.
Reply
#8
(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
Reply
#9
(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-.
Reply


Forum Jump: