.NET

.NET

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

Palette changes size of WinForms controls

252 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,608
Registered: ‎06-29-2007
Message 2 of 3 (235 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 (213 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
Do you have 60 seconds to spare? The Autodesk Community Team is revamping our site ranking system and we want your feedback! Please click here to launch the 5 question survey. As always your input is greatly appreciated.