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: 10which 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.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login