A pushbutton text is
always displayed in the middle of the button by SAP GUI. For certain
screens a "left aligned" layout may look better.
Solution
Appending space characters to
the pushbutton texts does not alter the text position, but if you append
non-breaking space characters ( or in HTML, U+00A0 in
Unicode, 0xC2 0xA0 in UTF-8), you can achieve a left-aligned
layout. Since proportional font is used for the pushbuttons there is no
simple rule as to how many non-breaking space characters are needed, so
you will need a trial and error approach.
To insert the non-breaking
space characters in the Script Editor Pro you may use the key
combination
Ctrl+Shift+Space.