cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
%3CLINGO-SUB%20id%3D%22lingo-sub-664657%22%20slang%3D%22en-US%22%20mode%3D%22UPDATE%22%3EAllow%20TableBox%20to%20have%20rows%20of%20variable%20heights%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-664657%22%20slang%3D%22en-US%22%20mode%3D%22UPDATE%22%3E%3CP%3E%3CSTRONG%3EWhat%20inspired%20this%20wish%20list%20request%3F%26nbsp%3B%3C%2FSTRONG%3EI%20use%20TableBox%20to%20simulate%20a%20ListBox%20but%20with%20formatting%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSTRONG%3EWhat%20is%20the%20improvement%20you%20would%20like%20to%20see%3F%26nbsp%3B%3C%2FSTRONG%3EI%20would%20like%20to%20see%20TableBox%20rows%20not%20all%20be%20forced%20to%20the%20exact%20same%20height%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSTRONG%3EWhy%20is%20this%20idea%20important%3F%26nbsp%3B%3C%2FSTRONG%3EConsider%20a%20TableBox%20with%20only%20one%20attached%20child%20--%20a%20ColBox%20with%20various%20elements.%26nbsp%3B%20The%20TableBox%20has%20only%20one%20column%20--%20there%20is%20no%20reason%20to%20force%20all%20rows%20to%20have%20the%20same%20height%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EConsider%20the%20following%20JSL%20--%20it%20would%20be%20nice%20if%20the%20first%20row%20could%20be%20sized%20to%20it's%20content%2C%20not%20to%20the%20content%20of%20the%20second%20row.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CPRE%3E%3CCODE%20class%3D%22%20language-jsl%22%3ENames%20Default%20To%20Here(%201%20)%3B%0ANew%20Window(%20%22Mountains%22%2C%0A%09tb%20%3D%20Table%20Box(%0A%09%09Col%20Box(%20%22Heights%22%2C%0A%09%09%09Text%20Box(%20%22Short%20Row%22%20)%2C%0A%09%09%09Spacer%20Box(%20Size(%20100%2C%20100%20)%2C%20%26lt%3B%3CBACKGROUND%20color%3D%22%22%3E%3C%2FBACKGROUND%3E%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-664657%22%20slang%3D%22en-US%22%20mode%3D%22UPDATE%22%3E%3CLINGO-LABEL%3EAutomation%20and%20Scripting%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EContent%20Organization%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMass%20Customization%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Choose Language Hide Translation Bar

Allow TableBox to have rows of variable heights

What inspired this wish list request? I use TableBox to simulate a ListBox but with formatting

 

 

What is the improvement you would like to see? I would like to see TableBox rows not all be forced to the exact same height

 

 

Why is this idea important? Consider a TableBox with only one attached child -- a ColBox with various elements.  The TableBox has only one column -- there is no reason to force all rows to have the same height

 

Consider the following JSL -- it would be nice if the first row could be sized to it's content, not to the content of the second row.

 

Names Default To Here( 1 );
New Window( "Mountains",
	tb = Table Box(
		Col Box( "Heights",
			Text Box( "Short Row" ),
			Spacer Box( Size( 100, 100 ), <<Background Color( "Blue" ) )
		)
	)
);