5

I can't find a way to make my dock only resize horizontally when new apps appear. Currently when one does, the whole dock shrinks vertically and expands horizontally.

Is there any way to only expand the dock horizontally?

2 Answers 2

4

This answer mentions how to lock the dock, but doesn't mention that you have to reload the dock in order for the changes to be applied.

If you want to lock the dock so that you can't resize it, run this command in a terminal:

defaults write com.apple.dock size-immutable -bool yes && killall Dock

If you want to unlock the dock so that you can resize it, run this command in a terminal:

defaults write com.apple.dock size-immutable -bool no && killall Dock

Source

0

I think I found a way to lock the change of icons' size in dock:

defaults write com.apple.Dock size-immutable -bool yes
1
  • 1
    This doesn't work. It only disables the ability to change the size in preferences. The dock still resizes itself depending on how many apps are open.
    – Jamey
    Commented Jul 13, 2020 at 22:26

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .