0

Is it possible to centralize the text in the Statusbar?

OBS: In The Program Autohotkey

;Simple Example

Gui, Add, StatusBar

SB_SetText("I want that centered text here")

Gui, Show, Center w600 h300
vasili111
  • 6,032
  • 10
  • 50
  • 80
Vampirinha
  • 41
  • 1
  • 9

1 Answers1

3

Yes, you use tabs, like this:

;Simple Example
Gui, Add, StatusBar
SB_SetText(A_Tab "I want that centered text here")
Gui, Show, Center w600 h300

One tab for centered text, two tabs for right-aligned text.

See docs for more information: http://ahkscript.org/docs/commands/GuiControls.htm#SB_SetTextNewText__PartNumber_Style

Sid
  • 1,709
  • 1
  • 10
  • 17