Changed Layout from GridLayout to FlowLayout.