Randy Wong

CommandGroup button size

Discussion created by Randy Wong on Dec 18, 2019
Latest reply on Dec 18, 2019 by Randy Wong

Hi All,

Sorry for the really basic / newbie question but I'm having trouble finding documentation that explains how to set a button in a commandgroup to be either large or small.  I'm working with the default Solidworks API template in Visual Studio and can't figure out where in the sample code are the buttons being defined as small icons.  Can anyone point me to the code that defines whether a command manager button is large vs small?

for example, for the command manager buttons in the Layout Tab:  Offset Entities is a large button with text underneath - while Mirror Entities, Linear Sketch Pattern, and Move Entities are small buttons with text to the right of the icon.

Thanks for any help!

Randy

Outcomes