简体   繁体   中英

Vertical tab in Delphi string on Android using FMX

could someone explain me, why horizontal tab in string works on Windows, but not on Android ? Using Delphi 10.1 Berlin, FireMonkey. Or how to use tab and other special chars on Android :)

procedure TFMain.Text1Click(Sender: TObject);
begin
  Text1.Text:= 'first:' + chr(9) + '1' + #10 + 'second:' + #9 + '2';
end;

Result on Windows:

first:  1
second: 2

Result on Android:

first: 1
second: 2

What I need - align text in columns in TText, TMemo, hints and so on. Best regards.

Maybe is a problem of object size; Resize the height of Text1 for greater size and mark Text1.wordwrap =True

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM