wctltya Posted February 19, 2017 Report Share Posted February 19, 2017 (edited) Hi, Is there any way to adjust the text (left, center, right) in TextEdit as in Label widget? Edited February 19, 2017 by wctltya Link to comment Share on other sites More sharing options...
Joel Bodenmann Posted February 19, 2017 Report Share Posted February 19, 2017 Hi, The built-in rendering function of the text edit doesn't offer that, no. But you can simply create your own custom rendering function that does that. Basically you can just copy the existing one and modify the justification parameter. Theoretically, you could create a custom rendering function that takes the justification via the parameter. The existing label drawing function does that too. 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