Jump to content

How to allign text inside drop-down menus


Recommended Posts

Hello guys, 

Screenshot_3.jpg.c3e8266f82ada8a457f2b13653e060d5.jpg

 

For this drop-down menu, I am retrieving 3 variables from a CSV file. E.g. the first column has the "0000", "000A", etc, the second column has "0009", "0007", etc and the third one has "Barra de Transporte" and so on. Is there a way to allign the "-" characters I am adding in between the variables in order to look prettier and easier to read?

The way I am adding data to that drop-down menu is as follows:

   For $i=2 to $Lines
      GUICtrlSetData($Lista, "[" & $File[$i][1] & "-" & $File[$i][2] & "] - " & $File[$i][8])
  Next

I have a couple If to treat some lines differently like the [0010] one, but that isn't important.

Thanks for everything.

 

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
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...