yyrkoon94 / lovelace-idf-mobilite

Lovelace Card for IDF Mobilité (Bus, Métro, RER)
24 stars 6 forks source link

In RER line type the text doesn't fit if it's too long #10

Open wgrs33 opened 11 months ago

wgrs33 commented 11 months ago

Hi! Thank you for developing this card. It's really useful!

Now the issue I see. I have a card with RER/SNCF LineType. When the destination name is too long then string is split into 2 lines. Unfortunately the lines exit their area.

Data to reproduce: MonitoringRef: SP:63989 LineRef: C01740 or MonitoringRef: SP:63886 LineRef:C01727

This happens on OnePlus8T Screenshot_2023-12-09-16-53-56-40_c3a231c25ed346e59462e84656a70e50

This one on an old Samsung tablet (Android 5). As you can see, even Bus lineType has the same issue 17021382876326766437236105265229

On the PC I don't see it, so I suppose that it is linked to display's resolution and pixel density.

yyrkoon94 commented 11 months ago

Hello,

Yes the issue depends on the size. I made a fix in the next release.

yyrkoon94 commented 3 months ago

Hello @wgrs33, No news from you ... is it ok ?