![](templates/Classic/images/spacer.gif) |
geosmith Wanderer
Joined: 23 Apr 2005 Posts: 57
|
Posted: Sat Mar 25, 2006 7:31 pm
Alignment of text on button |
I'm just wondering whether there's any way to change the alignment of text on a button? I'm using a seperator-style button as a second status bar, but would prefer the text to align to the left rather than centrally. Unfortunately the text displayed isn't constant, so simply following it with a set number of spaces isn't going to work.
|
|
|
![](templates/Classic/images/spacer.gif) |
TonDiening GURU
![](images/avatars/35418510744b1b6777b5a3.gif)
Joined: 26 Jul 2001 Posts: 1958 Location: Canada
|
Posted: Tue Mar 28, 2006 1:59 pm |
Knowing the button length can you right pad your button title with spaces so it forces the words to the left?
|
|
|
![](templates/Classic/images/spacer.gif) |
MattLofton GURU
Joined: 23 Dec 2000 Posts: 4834 Location: USA
|
Posted: Wed Mar 29, 2006 2:19 am |
Yep, you can.
Caption = %concat(%repeat(" ", %eval(@MaxLength - @CaptionText)),@CaptionText) |
|
_________________ EDIT: I didn't like my old signature |
|
|
![](templates/Classic/images/spacer.gif) |
|
|