Adjusting white space with variable length data

How can I adjust the white space when data has different lengths? I can’t find the “fit contents” or “fill container” settings anywhere? My data looks like this:

However, when clicking on another program, the data completely fills the empty space - see second screen shot,