Skip to main content
Participating Frequently
January 16, 2023
Answered

Where can I edit the minimum dimensions of the Brushes panel? Where is that file located?

  • January 16, 2023
  • 1 reply
  • 663 views

I am trying to find and edit the (json?) file that sets the minimum panel size for the Brushes panel. I have my brushes window on the canvas and I'd like it as small as possible. Here's an example of all the dead space I cannot get rid of since the box is at it's minimum size:

.

If that is not possible to edit, is there a way I can copy the existing brush panel into a UXP file and load it as a custom plugin?

This topic has been closed for replies.
Correct answer r-bin
I don't use it. I gave you a hint on how to influence the sizes of some UI elements.
I don't use it myself. Using CS6 as an example, I'll show you how you can change the minimum values for some panels.
If you add (change) such lines
"$$$/override/Globals/StdPaletteHeight=25"
"$$$/override/Globals/StdPaletteHeight/Large=25"
"$$$/override/Globals/StdPaletteHeight/Mac=25"
"$$$/override/Globals/StdPaletteHeight/Medium=25"
"$$$/override/Globals/StdPaletteHeight/Tiny/Mac=25"
"$$$/override/Globals/StdPaletteHeight/Tiny/Windows=25"
"$$$/override/Globals/StdPaletteHeight/Windows=25"
"$$$/override/Globals/StdPaletteWidth=25"
"$$$/override/Globals/StdPaletteWidth/Large=25"
"$$$/override/Globals/StdPaletteWidth/Mac=25"
"$$$/override/Globals/StdPaletteWidth/Medium=25"
"$$$/override/Globals/StdPaletteWidth/Tiny/Mac=25"
"$$$/override/Globals/StdPaletteWidth/Tiny/Windows=25"
"$$$/override/Globals/StdPaletteWidth/Windows=25"
 
then you can get such dimensions as shown in the screenshot on the right (standard minimum sizes are shown on the left).
 
It can be seen that not all panels can be reduced arbitrarily. It depends on the minimum sizes of some controls, as in the example in the layers palette.
 
It is probably not worth adding values that do not exist to the file.
You only need to change the numbers that come after the "=" symbol.
You don't need to add "px".
 
A complete list of "$$$/override/..." lines can be found in photoshop.exe file. You can also tweak the resources in Photoshop.dll and PSViews.dll.
But this is a question for hackers.
))
 

1 reply

Legend
January 17, 2023

Look at the ..\Locales\xx_XX\Support\tw10428_*.dat file.

Change the values for

$$$/override/Globals/BrushPaletteHeight

$$$/override/Globals/BrushPaletteHeight/Medium

$$$/override/Globals/BrushPaletteHeight/Large

$$$/override/Globals/BrushPaletteHeight/Small

$$$/override/Globals/BrushPaletteHeight/Tiny

and similar ones for Width.

 

You can also experiment with other values, such as StdPaletteHeight or for the sizes of controls and buttons.

 

Legend
January 17, 2023

It seems that there is a value below which the height cannot be reduced