Fixed views bug which failed to implement the fill single line option for grid layout.