[solved] ui.text align part of text at 0.0 and part at 1.0?
Posted: Tue Nov 22, 2011 5:53 pm
No source code as it's more of a speculative question, but I was wondering if anyone knew of a way to have text similar to this:
Beginning of Text End of Text|
where | is the right aligned part of the message box. I tried doing something like
but of course that doesn't work.
I was thinking of a hacky way to do it by creating another line with the position in the previous line's Y pos but I don't know how to access that variable as well. Any ideas?
Beginning of Text End of Text|
where | is the right aligned part of the message box. I tried doing something like
Code: Select all
ui.text(Beginning of Text{xalign=1.0}End of Text|{/xalign})I was thinking of a hacky way to do it by creating another line with the position in the previous line's Y pos but I don't know how to access that variable as well. Any ideas?