Message 1 of 4
Ribbon panels and large icons
Not applicable
05-25-2010
07:39 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
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
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