OpenDCL Forums

OpenDCL => Runtime/AutoLISP => Topic started by: domenicomaria on November 26, 2025, 09:37:50 AM

Title: PALETTE, ALLOW RESIZING=FALSE
Post by: domenicomaria on November 26, 2025, 09:37:50 AM
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...
Title: Re: PALETTE, ALLOW RESIZING=FALSE
Post by: domenicomaria on November 26, 2025, 09:46:53 AM
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...
Title: Re: PALETTE, ALLOW RESIZING=FALSE
Post by: owenwengerd on November 26, 2025, 01:41:38 PM
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.
Title: Re: PALETTE, ALLOW RESIZING=FALSE
Post by: domenicomaria on November 26, 2025, 08:39:11 PM
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
Title: Re: PALETTE, ALLOW RESIZING=FALSE
Post by: domenicomaria on November 26, 2025, 09:15:24 PM
It seems that it is possible to control the "height" of the palette...

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