qt4-gui: make error list box adapt to size changes

There is still a problem with the items being too narrow after resizing, but
now it looks slightly better at least.