Subscribe Bookmark RSS Feed

Text Box Appending

karmstro

Community Trekker

Joined:

Sep 27, 2016

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
David_Burnham

Super User

Joined:

Jul 13, 2011

Solution

Try <<Set Wrap instead of <<Set Width

-Dave
2 REPLIES
David_Burnham

Super User

Joined:

Jul 13, 2011

Solution

Try <<Set Wrap instead of <<Set Width

-Dave
karmstro

Community Trekker

Joined:

Sep 27, 2016

Thanks!