Skip to main content
Participant
December 30, 2024
Answered

CEP-Extension Remove or hide resize widget.

  • December 30, 2024
  • 2 replies
  • 538 views

Hi everyone can anyone help me to remove this resize widget in the botton corner " resize handle" in this toolbar panel I don't find a way to do it. Dont look stetic over the add button.

This topic has been closed for replies.
Correct answer Jack_robert3730

You must modify the manifest.xml file if the panel is missing.
These are the values that you must alter.
\Size> \Geometry> \Width>300</Width> \Height>555</Height> \/Size> \/Geometry>
You must alter the manifest if it's an uxp panel. JSON
Place the four equal height values in the manifest file.
and the same width
View below
minimumSize": {"width": 240, "height": 840}, "maximumSize": {"width": 240, "height": 840}, "preferredDockedSize": {"width": 240, "height": 840}, "preferredFloatingSize": {

2 replies

Jack_robert3730Correct answer
Participating Frequently
December 30, 2024

You must modify the manifest.xml file if the panel is missing.
These are the values that you must alter.
\Size> \Geometry> \Width>300</Width> \Height>555</Height> \/Size> \/Geometry>
You must alter the manifest if it's an uxp panel. JSON
Place the four equal height values in the manifest file.
and the same width
View below
minimumSize": {"width": 240, "height": 840}, "maximumSize": {"width": 240, "height": 840}, "preferredDockedSize": {"width": 240, "height": 840}, "preferredFloatingSize": {

Participant
December 30, 2024

Thanks a lot guy's so the only way is to set the same size for the width and height this is so limited I need the verticall resize for the toolbar bu this little square appear. Its possible to make the panel resize aumatic when adding new iconButton to the toolbar.

Inspiring
December 30, 2024
quote

Thanks a lot guy's so the only way is to set the same size for the width and height this is so limited I need the verticall resize for the toolbar bu this little square appear. Its possible to make the panel resize aumatic when adding new iconButton to the toolbar.


By @Kakachiex_x2025

Unfortunately it is not possible to do so.
For the square, if it is a uxp panel you can remove it.
This is the code
window.require('photoshop').core.suppressResizeGripper(
{
"type": "panel",
"target": "com.jdp.frames",
"value": true
})

Inspiring
December 30, 2024

If the panel is cep
You need to edit the manifest.xml file
These are the values ​​you need to change.
<Geometry> <Size> <Width>300</Width> <Height>555</Height> </Size> </Geometry>
If it is a uxp panel, you need to edit the manifest. json
In the manifest file put the 4 equal height values,
And equal width
See below
minimumSize": {
"width": 240,
"height": 840
},
"maximumSize": {
"width": 240,
"height": 840
},
"preferredDockedSize": {
"width": 240,
"height": 840
},
"preferredFloatingSize": {
"width": 240,
"height": 840
},