fixing layout of the slice settings dialog