pybodensee / lock-message

An Ubuntu Touch app to add a custom message to the lock screen.
Other
0 stars 1 forks source link

[feature request] make the font size adjustable #3

Closed gbdomubpkm closed 3 months ago

gbdomubpkm commented 3 months ago

It would be nice if we could make the font size adjustable (bigger). Thanks again.

seowings commented 3 months ago

Thanks for this feature request. I am currently looking into this. I noticed that basic html tags e.g. bold, italic, strike and underline works prefectly in current version as well. Increasing the size seems to be a problem as its handled by UT System. So I need to dig futher into thsi matter.

image832

gbdomubpkm commented 3 months ago

bold is a great useful start.

seowings commented 3 months ago

For bold you can easily add tag to current app.

Simply start your message with <b> and end it with </b>. For example will print bold message on locked circle.

<b>My Bold Message</b>
gbdomubpkm commented 3 months ago

Thank you ! But the original message in 3 lines is writted now in 2 lines when using bold with<b> at the beginning and </b> at the end of the 3 lines message. How to stay with 3 lines ?

seowings commented 3 months ago

Use enter or linebreaks to fit it in 3 lines. As you can see in my examples, all messages are in 3 lines. I use line breaks to make this happen.

seowings commented 3 months ago

I also figured out that emojis/icons/ASCIIs also work well. image

gbdomubpkm commented 3 months ago

Nice.

Only an idea/question : I assume the diameter of the circle is only inherent to UT and could not be adjusted internally in your app if used ?

seowings commented 3 months ago

Yes, There are certain limitation on this circle. I am still exploring it. May be thre are some ways around to add more features to my app. I will post my findings here.

seowings commented 3 months ago

Closing this as its not going to fix in current UT release. We can reopen it in future once that oppertunity in UT..