You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Setting Size for Workspace Addin

Accepted answer
24
Views
5
Comments
edited Oct 29, 2011 4:54PM in UI Extensibility 5 comments

Content

I have created a IWorkspaceComponent2 and I have added it to the Contact workspace and everything seems to be working well except the size of the component.

It is a user control that is sized at about 110x23 with a button inside of it sized at about 110x23.

When I add it to the contact workspace I highlight the control go into the Design ribbon and use the size button.  I have "Enable Auto sizing" unchecked and then I set the size to 110x23.

Then it might temporarily work, but it always seems to go back to 75x23 (which seems to be the default size of buttons in windows forms).

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!