Read the statement by Michael Teeuw here.
MMM-Fuel shorten text
-
Hey guys,
why the shorten text function in the module leave just one letter? I want to shorten the text but I need mor then one letter. It is possible to change this somewhere?
-
@Niggich can you post your config?
-
@strawberry-3.141 it looks like this…
{ module: "MMM-Fuel", position: "top_center", config: { api_key: "xxxxxxxxxxxxxx", lat: 51.3912304, lng: 10.1903639, types: [ "e10" ], shortenText: true, showAddress: false } },
thanks
-
@Niggich you have to define the characters you want to sghow like
shortenText: 10
which will give you the ten first characters -
@strawberry-3.141 That’s it! Thanks a lot.
-
Hi, have another issue with the shortenText functionality. When I use it, the address is max shorter(in px) then the name of the gas station. That’s a little bit anoying if more then one station is shown from the big companies and I can’t see the complete address, even if there is still enough place. Any idea, how I can change it? In the custom.css for example.