.NET

.NET

Reply
Contributor
15 Posts
0 Kudos
Registered: ‎05-01-2012
Post 1 of 3
Accepted Solution

Palette changes size of WinForms controls

253 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*
9,836 Posts
1,219 Kudos
Registered: ‎06-29-2007
Post 2 of 3

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
15 Posts
0 Kudos
Registered: ‎05-01-2012
Post 3 of 3

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 interested in helping shape the future of the Autodesk Community? To participate in this brief usability study, please click here. Your time and input is greatly appreciated!