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 .
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
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
My second ask is why can i resize palette if i set it to no ?
Thanks (again ;) )
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
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
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
I would add it as a bug report.
Fred
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.
Please attach a simple sample along with exact steps to reproduce the problem.
So, yes bug still occurs :
Here is an example (always the same test ;) )
(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 !
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.
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 .
No, I cannot resize it. I tested in AutoCAD 2007 on Vista.
Quote from: owenwengerd on July 17, 2009, 08:20:23 PM
No, I cannot resize it. I tested in AutoCAD 2007 on Vista.
I use AutoCAD 2008 on Vista 32Bits .
I tried this to show palette in middle screen with no effect , steel docked! :
(dcl_Form_Show Test_Form1 400 400)
But i discover another thing ... :(
When i undock the palette, it steel locked, and missing all option button and checkbox and option list, until i move it again !!!
After moved it in screen , repaint it and seem work fine (but not really the good size)......
But, i can resize it before or after move, but not as i wish (with no control), i get something strange :
Horizontal ,Only some pixel (maybe 32), after resizing, cannot get original size, but drafting as it could do it ...
Vertical, like Horizonal if i select this first.
Diagonal, if i select this first, i can resize it over, and over, but not as i wish !
Hope this can help you !
Thanks !
In Beta 8, I have done some work on palette sizing, but I still see some strange problems that I haven't been able to resolve. For example, when Resizable is False the palette shifts inside the container window when undocking or unrolling.
You've got it with 5.1.2.1, solved !
Arrrhh , but another thing, when i move pallette in screen, size of item inside change (just a little)
I 'll make anothe post for this ;)
thanks for your job !
I did notice the shifting, and I spent some time trying to fix this, but so far I haven't found a solution. The shifting is due to some unusual implementation in AutoCAD's palette code.