full text justification
Posted: Wed Apr 30, 2014 3:21 pm
Hello all LiveCode gurus, grand masters, big cheeses, little cheeses and total newbies
I need to be able to display fully justified text in a LiveCode field - I found some code that Brian Yennie wrote in 2007 (http://thread.gmane.org/gmane.comp.ide. ... cus=100322 thanks Brian!) that I've tweaked and have now got justified text that seems OK (if you don't look too closely). I'm including the stack here in the hope that others might find it of use - and that some of you will be able to suggest ways to improve what I've got and move us on towards something like 'proper' justified text which we can all benefit from.
Of course in the long-term LiveCode will have a 'full justify' options on its fields and the feature request for this is http://quality.runrev.com/show_bug.cgi?id=4714
So, please check out the hack code in my stack and let me have your suggestions on how to progress things
Kind regards
Dave
PS: new versions of the stack will always be attached to the first posting of this thread
I need to be able to display fully justified text in a LiveCode field - I found some code that Brian Yennie wrote in 2007 (http://thread.gmane.org/gmane.comp.ide. ... cus=100322 thanks Brian!) that I've tweaked and have now got justified text that seems OK (if you don't look too closely). I'm including the stack here in the hope that others might find it of use - and that some of you will be able to suggest ways to improve what I've got and move us on towards something like 'proper' justified text which we can all benefit from.
Of course in the long-term LiveCode will have a 'full justify' options on its fields and the feature request for this is http://quality.runrev.com/show_bug.cgi?id=4714
So, please check out the hack code in my stack and let me have your suggestions on how to progress things
Kind regards
Dave
PS: new versions of the stack will always be attached to the first posting of this thread