Sorry for this perhaps stupid question, but have you tried anchoring you controls???
If so the pallatsize depending on the achors you used on your control could cause this strecthing behavior.
Hope this could help you to solve your problem.
look to this image, I did create one usercontrol, placed instances of it to two palettesets ... the difference I set seems to give you a chance to solve your problem:
left part: pPaletteUI1.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
right part: pPaletteUI2.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None
HTH, - alfred -
>> I didn't see autoscalemode property under paletteset. could you be more details?
No, it's not a property of the paletteset. It is a property of your usercontrol (that you instanciated and placed inside the paletteset)
You can do that by setting the property in the code or you open your usercontrol in VisualStudio and set the property in the VS-PropertyWindow.
The background of that seems to be in the standard-font you use for the usercontrol (and the fonts of the controls inside the usercontrol are - by default - inherited from that). During you see the usercontrol in you VisualStudio-Formseditor the font is depending from your default-settings. But when loaded into AutoCAD (within a paletteset) the fonts seems to be changed ==> and as long as the AutoScaleMode is set to font-depended all will get resized to the new font-properties.
HTH, - alfred -
I found it
I also found this
Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register
Start with some of our most frequented solutions to get help installing your software.