shell: Resize panel configuration toolbar height to its contents

Width is fixed but height needs to be resized.