如何使用TextAlign.Right在句子后显示空格? [英] How can I show spaces after sentence with TextAlign.Right?

查看:178
本文介绍了如何使用TextAlign.Right在句子后显示空格?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

现在,我正在用Adobe Flash Builder 4.6制作一个简单的编辑程序。

我的程序有一个简单的对齐设施。在测试期间,我发现了这样的问题。



首先,我输入了这样的简单字符串:

Now, I'm making a simple edit program with Adobe Flash Builder 4.6.
My program has a simple align facilities. During test, I've discovered a problem like this.

First, I've input simple string like this:

"aaaa       "

其次,将Align属性设置为

Second, Set Align property to

TextAlign.Right





但是显示字符串只是



But displayed string is only

"aaaa"

并且句子末尾的空格消失了。



这是什么问题?我怎么解决呢?

and spaces at the end of sentence disappeared.

What's this problem? And How can I solve it?

推荐答案

嗯,我认为这不是CodeProject中的正确问题。你必须要问它as3xls博客。
Well, this is not proper questions in CodeProject I think. You have to ask it to as3xls blog.


好吧,我已经意识到Air没有提供这个。
Well, I've realized that Air didn't offer this.


这篇关于如何使用TextAlign.Right在句子后显示空格?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆