Jump to content

Multi line label


ForTest

Recommended Posts

Hi

 

Someone can advise me on what is the best method to display a multi line label in ugfx?

I've seen on ugfx studio that containers  seems to do something similar with texts but they haven't the possibility to make align, so before try some test of custom routine i would like to ask what is the best approach

 

Thanks

Link to comment
Share on other sites

Don't know if you are asking for text wrapping, but if so first you need to set the key in your configuration file. Then provide proper vertical size of the label widget. Then select desired alignment and you will have multi line label. Recently the uGFX guys implemented vertical text alignment. Check out the latest version. 

The other option is to embed formatting escape symbols in the text as /n , /t etc. I've tried tab only, but new line shall work as well.

Edited by wctltya
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...