【发布时间】:2017-01-14 12:44:20
【问题描述】:
如何使标签从右到左显示更新的文本,固定在字符串的末尾,例如如果通常更新顺序如下所示:
⍈ hello
⍈ hello world
⍈ hi how are you
我想这样看:
hello ⍇
hello world ⍇
hi how are you ⍇
【问题讨论】:
如何使标签从右到左显示更新的文本,固定在字符串的末尾,例如如果通常更新顺序如下所示:
⍈ hello
⍈ hello world
⍈ hi how are you
我想这样看:
hello ⍇
hello world ⍇
hi how are you ⍇
【问题讨论】:
您可以设置标签ContentAlignment
label1.AutoSize = true;
label1.TextAlign = ContentAlignment.TopRight;
label1.Text = "#Hello";
【讨论】: