ESP32-MiniWebRadio icon indicating copy to clipboard operation
ESP32-MiniWebRadio copied to clipboard

The entire title is missing from the display.

Open hevet opened this issue 1 year ago • 8 comments

I have a display on ili9341. Sometimes the full title is not displayed on the display, but the full title is displayed on the web interface. An example of what it looks like in the photos below.

Zrzut ekranu 2024-05-23 101941

image

hevet avatar May 23 '24 08:05 hevet

At the moment, the possible length of the text is estimated based on the number of letters and then the character size is selected. Sometimes it doesn't fit. I will do this differently in future. P.S. From V3.1 you can click on the Into image via the web interface (tab "Info") and a hardcopy of the display will be created. This saves you having to take a photo.

schreibfaul1 avatar May 23 '24 10:05 schreibfaul1

I have now changed this. We have 10 font sizes. Starting with the largest, the system checks whether the text fits into the given window. If this is not the case, the font size is reduced, checked ... etc. The font size is no longer based on an estimate, the font is now often larger than in the previous version.

schreibfaul1 avatar May 29 '24 16:05 schreibfaul1

Thanks @schreibfaul1, When I come back, I'll check how it works now :)

hevet avatar May 29 '24 16:05 hevet

@schreibfaul1 Something is wrong. When I turn on the radio that has no information, it will mean that the information will not be displayed on any station if I switch up and down. If I select a station using the numeric keypad, the information will appear again. The information is always correct in the web interface.

hevet avatar May 29 '24 19:05 hevet

@schreibfaul1 I added a link to a video showing the described problem. https://drive.google.com/file/d/17vC1TxRus39dR8XoQojxhxOhG3NypZEq/view?usp=drivesdk

hevet avatar May 29 '24 20:05 hevet

I didn't notice this during my tests. I had hidden the text box for the stream tiltles when there is nothing to display. After that, nothing is visible. I think it will be better now.

schreibfaul1 avatar May 29 '24 21:05 schreibfaul1

@schreibfaul1 It's better, it looks good :)

hevet avatar May 29 '24 21:05 hevet

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] avatar Jun 29 '24 02:06 github-actions[bot]

This issue was closed because it has been inactive for 14 days since being marked as stale.

github-actions[bot] avatar Jul 13 '24 02:07 github-actions[bot]