static public < C , T extends C > Value < C , T > percentWidth ( Toolkit < C , T > toolkit , final float percent ) { return new TableValue < C , T > ( toolkit ) { @ Override public float get ( T table ) { return toolkit . getWidth ( table ) * percent ; } } ; }
Returns a value that is a percentage of the table s width .