Choose Language Hide Translation Bar
Highlighted
karmstro
Level III

Text Box Appending

I'm sure the solution is very simple but its frustrated me to the point where I'm willing to have the solution pointed out to me!

 

When I execute the following it works as expected except that it leaves swathes of whitespace between the text boxes as it appends to the v list box. Clearly it is modulated by the width - I have currently set them to the minimum to display each text box on a single row.

 

my_header = text box("A1234 ABC sdfsdfsdkfsd review plots, beta version, rev. 0:");

my_header << Set Font( "Verdana" );

my_header << Set Font Size( 18 );

my_header << Set Width( 725 );

 

my_text = text box("- The charts below show box plots of all non-XEW fthrnczard parameters by AB/YZ/Rtgncws/Tgdaqbu by time");

my_text << Set Font( "Times New Roman" );

my_text << Set Font Size( 13 );

my_text << Set Width( 737 );

 

my_VLB_Text = v list box();

 

my_VLB_Text << append (my_header);

my_VLB_Text << append (my_text);

 

my_Display_Win = New Window( "my_Window", my_VLB_Text);

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
David_Burnham
Super User

Re: Text Box Appending

Try <<Set Wrap instead of <<Set Width

-Dave

View solution in original post

2 REPLIES 2
Highlighted
David_Burnham
Super User

Re: Text Box Appending

Try <<Set Wrap instead of <<Set Width

-Dave

View solution in original post

karmstro
Level III

Re: Text Box Appending

Thanks!
Article Labels

    There are no labels assigned to this post.