Sign in to follow this  
Followers 0
jezzzzy

Right align text

6 posts in this topic

I have a couple items in a GUIListView that I need right aligned (Column header and contents of File Size for a list of files).

I tried using:

StringFormat("%s",$variable)

but it didn't work. I assumed the "s" in stringformat would right align the variable because it says in the reference that it is "Right align." by default unless you "-" switch it.

I'm stuck.

Share this post


Link to post
Share on other sites



column justification can be done with the beta version, not sure of a way with the current release version.

If you decide to use the beta version, once installed look up the function _GUICtrlListViewJustifyColumn


SciTE for AutoItDirections for Submitting Standard UDFs

 

Don't argue with an idiot; people watching may not be able to tell the difference.

 

Share this post


Link to post
Share on other sites

I have a couple items in a GUIListView that I need right aligned (Column header and contents of File Size for a list of files).

I tried using:

StringFormat("%s",$variable)

but it didn't work. I assumed the "s" in stringformat would right align the variable because it says in the reference that it is "Right align." by default unless you "-" switch it.

I'm stuck.

Did you try _GUICtrlListViewJustifyColumn($h_listview, $i_col[, $i_justification=0]) ?

Visit the SciTE4AutoIt3 Download page for the latest versions        Beta files                                                          Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

column justification can be done with the beta version, not sure of a way with the current release version.

If you decide to use the beta version, once installed look up the function _GUICtrlListViewJustifyColumn

Helpful. Thanks.

Did you try _GUICtrlListViewJustifyColumn($h_listview, $i_col[, $i_justification=0]) ?

Would you suggest the .78 or the .80 beta?

Did you try _GUICtrlListViewJustifyColumn($h_listview, $i_col[, $i_justification=0]) ?

Is this available in the public release? Can't find it in the reference file.

Share this post


Link to post
Share on other sites

#5 ·  Posted (edited)

In the beta look in the UDFs section of the help file

Suggest getting the latest beta.

Edited by gafrost

SciTE for AutoItDirections for Submitting Standard UDFs

 

Don't argue with an idiot; people watching may not be able to tell the difference.

 

Share this post


Link to post
Share on other sites

Helpful. Thanks.

Would you suggest the .78 or the .80 beta?

Is this available in the public release? Can't find it in the reference file.

It is only available in the BETA.., both .78 and .80 should work ...

Visit the SciTE4AutoIt3 Download page for the latest versions        Beta files                                                          Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0