PALETTE, ALLOW RESIZING=FALSE

Started by domenicomaria, November 26, 2025, 09:37:50 AM

Previous topic - Next topic

domenicomaria

I tried using PALETTES...

It would be great if they worked properly!

I set "allow resizing" to "false"

but it was useless... it was always possible to resize the palette...

then I set "width", "max width", and "min width" to have the same value,
and I did the same by assigning the same value
to "height", "min height", and "max height"...

and it seemed to work,
but every time (with "auto hide" enabled)
the palette was hidden or shown,
the size changed unpredictably...

domenicomaria

probably the first simple thing to fix is "allow resizing" :

if it's set to "false",the palette should NEVER change size,
for any reason...

owenwengerd

Palettes are child windows inside a dock. The dock is user sizable, and it can have other palettes alongside your palette, so your palette isn't in control of the dock size. If you set a palette resizable=false, then it really does not resize, but that does not prevent the dock from being resized. It just means your palette may be smaller or larger than the dock, instead of resizing with it. The dock does take into consideration the min/max sizes of all palettes in the same dock, so that does give some control, but it doesn't force the dock to be a certain size in case there are conflicting requirements among multiple palettes.
Owen Wengerd (Outside The Box) / ManuSoft

domenicomaria

What you say is certainly correct...
... but there's more...
... something's not working...
in any case...

keep in mind that I use Bricscad.

I'm sending you some images...
If there are too many, delete them.

Thanks

domenicomaria

It seems that it is possible to control the "height" of the palette...

... while the "width" is absolutely out of my control...