.NET

Reply
Contributor
ilya.s.solovyev
Posts: 15
Registered: ‎05-01-2012
Message 1 of 3 (246 Views)
Accepted Solution

Palette changes size of WinForms controls

246 Views, 2 Replies
06-13-2013 12:51 AM

I use AutoCAD 2012 .NET API to add my custom control to palette, but this palette changes size of my control and all its children - they become bigger than in Visual Studio designer.

 

Why this happens?

Is there any solution?

Will WPF controls be bigger in palettes too?

Hi,

 

is >>>this thread<<< an answer for you too?

(I hope so :smileywink: )

 

- alfred -

*Expert Elite*
Alfred.NESWADBA
Posts: 9,378
Registered: ‎06-29-2007
Message 2 of 3 (229 Views)

Re: Palette changes size of WinForms controls

06-13-2013 03:53 AM in reply to: ilya.s.solovyev

Hi,

 

is >>>this thread<<< an answer for you too?

(I hope so :smileywink: )

 

- alfred -

-------------------------------------------------------------------------
Alfred NESWADBA
Ingenieur Studio HOLLAUS ... www.hollaus.at
-------------------------------------------------------------------------
Contributor
ilya.s.solovyev
Posts: 15
Registered: ‎05-01-2012
Message 3 of 3 (207 Views)

Re: Palette changes size of WinForms controls

06-13-2013 07:02 PM in reply to: Alfred.NESWADBA

Yes, It is. But solution didnt help, because of different font settings on palette. I can manually set font in code, but is it right to have a control in AutoCAD with different font settings and components size? I doubt that.

Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Are You Going To Be @ AU 2014? Feel free to drop by our AU topic post and share your plans, plug a class that you're teaching, or simply check out who else from the community might be in attendance. Ohh and don't forgot to stop by the Autodesk Help | Learn | Collaborate booths in the Exhibit Hall and meet our community team if you get a chance!