I have a script需要有一个大胆的词。如果我使用:
Gui, Add, Text,, % "Dispassionated Concentration: "
Gui, font, bold
Gui, Add, Text,x+0, % FormatMinutes(dc)
Gui, font
Gui, Add, Text,, % "Non Focused:" FormatMinutes(NonFocused)
. "`nIdle Time:" FormatMinutes(IdleTime)
. "`nTotal Time:" FormatMinutes(TotalTime)
然后结果是这样的:
如果该行是:
Gui, Add, Text,Y+0, % "Non Focused:" FormatMinutes(NonFocused)
如果是x-0 Y+0
:
如何对齐文本?
答案 0 :(得分:-1)
使用
Gui, Add, Text,xs Y+0, % "Non Focused:" FormatMinutes(NonFocused)
请参见Gui - Syntax & Usage: Positioning and Sizing of Controls。诚然,我只是尝试并出错,而没有真正了解它们的作用。