The slicer sets the layer height by adjusting the 'Z' axis height, not by how much the filament is squashed after being extruded.