.NET

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

Palette changes size of WinForms controls

221 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?

*Expert Elite*
Alfred.NESWADBA
Posts: 8,889
Registered: ‎06-29-2007
Message 2 of 3 (204 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 (182 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.

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community