Ribbon panels and large icons

Ribbon panels and large icons

Anonymous
Not applicable
1,194 Views
3 Replies
Message 1 of 4

Ribbon panels and large icons

Anonymous
Not applicable
IV 2010 API
C#

I've tried a variety of approaches, some quite novel, and I'm convinced that
you cannot add a button to a user defined panel on the ribbon using the
large icon associated with the button definition. It uses a scaled version
of the small icon regardless of the UseLargeIcon parameter of the
CommandControls.AddButton() method. If I use the large icon for both small
and large icons in the button definition, then it looks good as a large
button image but scales poorly to small icon size .

Is this another undocumented "feature"?

Neil
0 Likes
1,195 Views
3 Replies
Replies (3)
Message 2 of 4

Anonymous
Not applicable
Neil,

Do you have Inventor 2011 to try this with? There were some changes made in
2011 to support large icons and text for user defined panels, so I wonder if
the issues you are seeing in 2010 got fixed as a result.

Sanjay-
0 Likes
Message 3 of 4

Anonymous
Not applicable
Yes, but not installed yet. Will have to compromise somehow as support for
2010 required.

Thanks,
Neil

"Sanjay Ramaswamy (Autodesk)" wrote in
message news:6398095@discussion.autodesk.com...
> Neil,
>
> Do you have Inventor 2011 to try this with? There were some changes made
> in 2011 to support large icons and text for user defined panels, so I
> wonder if the issues you are seeing in 2010 got fixed as a result.
>
> Sanjay-
0 Likes
Message 4 of 4

Qube-it
Advocate
Advocate

Neil, are you using icon files for the buttons?  I have an add-in that loads on both 2011 and 2010 and it seems to work as expected.  Although, I don't call for a small button so I might be mistaken.  I'll take a look, though.

 

-Brian Hall-

-Brian Hall-
0 Likes