Change Hudiy’s DPI

Post Reply
Omardigio
Posts: 4
Joined: Thu Sep 04, 2025 2:25 am

Change Hudiy’s DPI

Post by Omardigio »

Good morning, I wanted to ask if it is possible to change the DPI of Hudiy’s interface, because I would need the bottom bar (the one with the volume) to be smaller—lower and with reduced icon sizes. Thank you.
hudiy
Site Admin
Posts: 440
Joined: Mon Jul 14, 2025 7:42 pm

Re: Change Hudiy’s DPI

Post by hudiy »

Hello,
Currently, it is not possible to resize Hudiy's interface elements without resizing the entire surface
https://github.com/wiboma/hudiy/blob/ma ... pplication (width, height)

Could you please describe what you are trying to achieve? We might be able to advise.
Omardigio
Posts: 4
Joined: Thu Sep 04, 2025 2:25 am

Re: Change Hudiy’s DPI

Post by Omardigio »

I wanted to achieve an interface similar to Tesla’s UI. I had created an HTML widget with a 3D render, and I placed Android Auto next to it, modifying its size and margins. However, I didn’t like the bar at the bottom being so thick—it took up too much space—so I wanted to reduce its size.
In the end, I decided to modify the overall size as suggested, so as to hide the bar and replace it with the Android Auto one.
Attachments
Screenshot_20260209-213442.png
Screenshot_20260209-213442.png (1.53 MiB) Viewed 94 times
Screenshot_20260209-213002.png
Screenshot_20260209-213002.png (1010.43 KiB) Viewed 94 times
hudiy
Site Admin
Posts: 440
Joined: Mon Jul 14, 2025 7:42 pm

Re: Change Hudiy’s DPI

Post by hudiy »

Thank you for the explanation. As a workaround, you can create a custom Bottom Bar in HTML/JavaScript as an overlay of the desired size to mask Hudiy's bottom bar, and then stretch the projection and your overlay containing the 3D render. You can also add controls to your custom bottom bar that trigger specific actions via the API (similar to shortcuts). Additionally, most status indicators (such as phone signal, battery, Bluetooth, and Android Auto) can be retrieved using the API as well:

https://github.com/wiboma/hudiy/blob/ma ... d#overlays
https://github.com/wiboma/hudiy/blob/ma ... .proto#L55
https://github.com/wiboma/hudiy/blob/ma ... proto#L102
https://github.com/wiboma/hudiy/blob/ma ... md#actions

We will test how the UI behaves with a smaller bottom bar and try to add an option to resize it in the settings.
Omardigio
Posts: 4
Joined: Thu Sep 04, 2025 2:25 am

Re: Change Hudiy’s DPI

Post by Omardigio »

Thanks for the tip. I created an overlay for an application bar in HTML with some icons, but I can’t figure out how to attach Hudiy functions to the icons using the API. Could you briefly explain how to do this? Thanks.
hudiy
Site Admin
Posts: 440
Joined: Mon Jul 14, 2025 7:42 pm

Re: Change Hudiy’s DPI

Post by hudiy »

You can check e. g. this example on our GitHub https://github.com/wiboma/hudiy/blob/ma ... _back.html

It uses API to dispatch "go_back" action but you can replace it by the desired one.
hudiy
Site Admin
Posts: 440
Joined: Mon Jul 14, 2025 7:42 pm

Re: Change Hudiy’s DPI

Post by hudiy »

We've introduced a new bottomBarHeight parameter in version 1.12/2.8. You can now configure the bottom bar height directly in the app settings (Menu -> Hudiy -> Settings -> Appearance) or manually in main_configuration.json file as described in: https://github.com/wiboma/hudiy/blob/ma ... appearance
Post Reply