[solved] Size of Palette with not allow resizing

Started by stephan_35, June 15, 2009, 07:37:52 AM

Previous topic - Next topic

stephan_35

Hello,

I meet something strange today !

I try to set palette with definied size : 116x224

First, when i show palette, it always put it in left side, but i send you another post for this,

Second, size does not match with editor view ! : button doesn't displayed correctly (seen screenshot)

third, if i tried to resize, i get something strange ..... and not even same   ;D

Thanks .
OpenDCL 6.0.0.6 / Editor 5.1.2.3  / Vista 32 Bits
Development of  specific tools for trades in AutoLisp - php - sql

Fred Tomke

Hi, stephan_35,

Unfortunately, I don't have any solution for you, but maybe it gives hope when I'm telling you that I can reproduce this in my palettes. But after resizing everything is alright.

Fred
Fred Tomke
Dipl.-Ing. (FH) Landespflege

[ landscaper - landscape developer - digital landscape and urban design]

stephan_35

Thanks for reply Fred !

My first ask was about the difference between editor and displayed palette in autocad.

Do we must find ourself the good size in editor to display in autocad ...

Thanks
OpenDCL 6.0.0.6 / Editor 5.1.2.3  / Vista 32 Bits
Development of  specific tools for trades in AutoLisp - php - sql

stephan_35

My second ask is why can i resize palette if i set it to no ?

Thanks (again  ;) )
OpenDCL 6.0.0.6 / Editor 5.1.2.3  / Vista 32 Bits
Development of  specific tools for trades in AutoLisp - php - sql

Fred Tomke

Hi stephan, to your second question I had a test with my palette. I can hardly resize it - but a little bit just this gap where we can see the AutoCAD background at the border of the palette -  maybe it is a hint to find a solution in the palette sourcecode ...

Can you resize it completely/endless?

Fred
Fred Tomke
Dipl.-Ing. (FH) Landespflege

[ landscaper - landscape developer - digital landscape and urban design]

stephan_35

Quote from: Fred Tomke on June 15, 2009, 02:29:40 PM
Hi stephan, to your second question I had a test with my palette. I can hardly resize it - but a little bit just this gap where we can see the AutoCAD background at the border of the palette -  maybe it is a hint to find a solution in the palette sourcecode ...

Can you resize it completely/endless?

Fred

Hello Fred,
I can change the size of the palette only once!
After that, it retains its dimensions.
Having established the minimum and maximum sizes
I just wonder if there is no inconsistency between the first display and the size defined by the editor.

Best regards
OpenDCL 6.0.0.6 / Editor 5.1.2.3  / Vista 32 Bits
Development of  specific tools for trades in AutoLisp - php - sql

stephan_35

   
Hello,

I did another test by defining ranges of minimum and maximum size of palettes.

The result is not conclusive, in fact there is always a lag between the display definition for the editor and the result obtained in autocad.


Best regards
OpenDCL 6.0.0.6 / Editor 5.1.2.3  / Vista 32 Bits
Development of  specific tools for trades in AutoLisp - php - sql

Fred Tomke

Fred Tomke
Dipl.-Ing. (FH) Landespflege

[ landscaper - landscape developer - digital landscape and urban design]

stephan_35

OpenDCL 6.0.0.6 / Editor 5.1.2.3  / Vista 32 Bits
Development of  specific tools for trades in AutoLisp - php - sql

owenwengerd

I suspect that the fix for the SetVisible bug also fixes this one. Please test it in Beta 7 and let me know whether the problem still occurs.
Owen Wengerd (Outside The Box) / ManuSoft

owenwengerd

Please attach a simple sample along with exact steps to reproduce the problem.
Owen Wengerd (Outside The Box) / ManuSoft

stephan_35

So, yes bug still occurs :

Here is an example (always the same test  ;) )

Code (autolisp) Select

(load "d:test.lsp")
test


Look only the palette, and try to resize it, something strange will appening , and all buttons are not inside box ! (but still inside with editor !)

Thanks !
OpenDCL 6.0.0.6 / Editor 5.1.2.3  / Vista 32 Bits
Development of  specific tools for trades in AutoLisp - php - sql

owenwengerd

For me, your palette opened correctly and is not resizable. I wonder if the problem is that during development, AutoCAD remembers the different sizes that you have tested with, and restores the size to what it remembers from the previous time.

I did notice that if you dock it, then undock it again, the size is incorrect. I will investigate that.
Owen Wengerd (Outside The Box) / ManuSoft

stephan_35

Quote from: owenwengerd on July 17, 2009, 09:06:38 AM
I did notice that if you dock it, then undock it again, the size is incorrect. I will investigate that.

The difference is that when i show the palette , it's already docked !

I can't (or i don't know how to ?) show the palette undocked.

But same problem since your palette is docked.  ;)

And i can resize it !!!! you don't ?

Thanks again .
OpenDCL 6.0.0.6 / Editor 5.1.2.3  / Vista 32 Bits
Development of  specific tools for trades in AutoLisp - php - sql

owenwengerd

No, I cannot resize it. I tested in AutoCAD 2007 on Vista.
Owen Wengerd (Outside The Box) / ManuSoft