jessew Apprentice
Joined: 03 Mar 2003 Posts: 141
|
Posted: Sat Apr 17, 2004 5:24 pm |
quote: Originally posted by Aarlot
Is there any way to justify a status bar entry to the right or left of the bar? I'd like to justify one of my entries to the right of the bar, but i can't seem to find any command to do that...
I use the %format function to define my status line this could help you, you would have to tweak the values to get them to fit correctly
on your screen but mine works like this.
#ST {%format("&-30s &25s", @var1, @var2)}
Pretty much it means the first var is left aligned , and the next 30 columns are reserved for my first var, the next 25 columns are reserved for my second var and justified right within those 25 columns
(NOT RIGHT ALIGNED ON THE STATUS BAR) but you can tweak the format code for your display with %format to get it to look like you want.
But without having a builtin way to anchor items to the right or the left of the status line itself (which i dont think there is) or a way of getting the number of visible chars the status line can display at a giving time i think something like this is the best you can do.
Cheers, Jesse |
|