Switch layout to boxlayout and adjust user input dimensions.