Text between devices?

Hi,

I have a bunch of rules where the title is hard-coded and then the actual rule is retrieved dymanically and it looks good on my Galaxy S4 but I noted that it looks very bad on my iPad.

Galaxy S4:  2ropd7m.png

iPad:  qpl98y.png

I made it look good, for Galaxy S4, using tabs but it doesn’t seem to work well between devices.

Anyone that have any advice on this?

Best regards,

Tomas

So basically, how do I make the text consistent between devices.

Using tabs is always unpredictable on different devices. (I’ve developed routines and device drivers for word-processors on MS-DOS way back in the past (think WordStar / WordPerfect), and tabs caused all sorts of alignment problems when output on different printers)

My recommendation is to split your strings up and group them into columns. Set the anchorX property on each string depending on if you want left/right/center alignment. Use the y property of the string to position it on a “row” within the group.

You can then position the column-groups with their x/y properties.

That’s probably what I will do then. Thanks for your response!

Best regards,

Tomas

So basically, how do I make the text consistent between devices.

Using tabs is always unpredictable on different devices. (I’ve developed routines and device drivers for word-processors on MS-DOS way back in the past (think WordStar / WordPerfect), and tabs caused all sorts of alignment problems when output on different printers)

My recommendation is to split your strings up and group them into columns. Set the anchorX property on each string depending on if you want left/right/center alignment. Use the y property of the string to position it on a “row” within the group.

You can then position the column-groups with their x/y properties.

That’s probably what I will do then. Thanks for your response!

Best regards,

Tomas