ForTest Posted March 7, 2017 Report Share Posted March 7, 2017 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 More sharing options...
ForTest Posted March 14, 2017 Author Report Share Posted March 14, 2017 Any ideas? Link to comment Share on other sites More sharing options...
wctltya Posted March 14, 2017 Report Share Posted March 14, 2017 (edited) 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 March 14, 2017 by wctltya Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now