Changing application size
-
Twardowsky29
- Posts: 18
- Joined: Fri Aug 08, 2025 2:46 pm
Changing application size
So I'm not good at programming so there's a lot more questions to come but firstly I need to know how can I change the width of the displayed stuff. My screen is 800x480px but there are 3mm borders per side covering it so I just wanted to make the application window and android auto smaller. Also it looks a little bit to stretched (the circles aren't perfectly round). Thanks for any help.
Re: Changing application size
Hello,
The size of all elements can be adjusted in main_configuration.json.
Please have a look at the following link for more details: https://github.com/wiboma/hudiy/blob/ma ... uration.md
Application
To change the size of the entire window, you can use the windowWidth and windowHeight parameters.
Setting values for these will switch the display mode from fullscreen to a fixed window size.
Additionally, you can keep the window in fullscreen mode while controlling the size of the Hudiy interface using the width and height parameters, and positioning it on the screen with the x and y parameters.
https://github.com/wiboma/hudiy/blob/ma ... pplication
Android Auto
To change the size of the area where Android Auto is displayed, you can use the width and height parameters in the Android Auto section. https://github.com/wiboma/hudiy/blob/ma ... ndroidauto
Similarly, to adjust its position, you can use the x and y parameters.
Changing the size may also require setting appropriate margins (widthMargin, heightMargin).
viewtopic.php?t=7
Overscan
It’s also possible to set screen margins directly in the Raspberry Pi OS kernel using the /boot/firmware/cmdline.txt file, with parameters like margin_left, margin_right, margin_top, and margin_bottom.
This is the equivalent of the old method of using overscan settings.
These parameters are applied system-wide, affecting entire OS - not just Hudiy.
Example:
Let us know the exact dimensions you'd like to set, and we’ll try to help.
The size of all elements can be adjusted in main_configuration.json.
Please have a look at the following link for more details: https://github.com/wiboma/hudiy/blob/ma ... uration.md
Application
To change the size of the entire window, you can use the windowWidth and windowHeight parameters.
Setting values for these will switch the display mode from fullscreen to a fixed window size.
Additionally, you can keep the window in fullscreen mode while controlling the size of the Hudiy interface using the width and height parameters, and positioning it on the screen with the x and y parameters.
https://github.com/wiboma/hudiy/blob/ma ... pplication
Android Auto
To change the size of the area where Android Auto is displayed, you can use the width and height parameters in the Android Auto section. https://github.com/wiboma/hudiy/blob/ma ... ndroidauto
Similarly, to adjust its position, you can use the x and y parameters.
Changing the size may also require setting appropriate margins (widthMargin, heightMargin).
viewtopic.php?t=7
Overscan
It’s also possible to set screen margins directly in the Raspberry Pi OS kernel using the /boot/firmware/cmdline.txt file, with parameters like margin_left, margin_right, margin_top, and margin_bottom.
This is the equivalent of the old method of using overscan settings.
These parameters are applied system-wide, affecting entire OS - not just Hudiy.
Example:
Code: Select all
video=HDMI-A-1:margin_left=40,margin_right=40,margin_top=32,margin_bottom=32-
Twardowsky29
- Posts: 18
- Joined: Fri Aug 08, 2025 2:46 pm
Re: Changing application size
I need to make it smaller by about 20px on left and right. Tried changing the cmdline.txt but it didnt work. Again, Im not that good with computers 
- Attachments
-
- Screenshot 2025-08-08 174107.png (90.1 KiB) Viewed 489 times
Re: Changing application size
From the screenshot, it looks like you’re modifying config.txt and using deprecated overscan parameters.
https://www.raspberrypi.com/documentati ... cy-options
The new way to set margins is through /boot/firmware/cmdline.txt.
Please note that all parameters in this file must be on a single line.
To determine the name of your video output, run the command wlr-randr and paste the output here.
We’ll then help you create the appropriate parameters for cmdline.txt, which you can copy and paste into the file /boot/firmware/cmdline.txt.
https://www.raspberrypi.com/documentati ... cy-options
The new way to set margins is through /boot/firmware/cmdline.txt.
Please note that all parameters in this file must be on a single line.
To determine the name of your video output, run the command wlr-randr and paste the output here.
We’ll then help you create the appropriate parameters for cmdline.txt, which you can copy and paste into the file /boot/firmware/cmdline.txt.
-
Twardowsky29
- Posts: 18
- Joined: Fri Aug 08, 2025 2:46 pm
Re: Changing application size
Damn, that was embarrassing mistake. I think it works now and looks perfect
More questions to come :>
- Attachments
-
- Screenshot 2025-08-08 185611.png (134.15 KiB) Viewed 481 times