In my VSTO 2013 Add-In for Office 2010, I am using a dropdown in Ribbon XML. The default width of the dropdown is twice the width of the items in the dropdown. How can I reduce the width? I don't see any option in the Ribbon XML tags for the dropdown that would set the appropriate width.
How can we set the width of a dropdown in VSTO Ribbn XML
662 Views Asked by nam At
1
There are 1 best solutions below
Related Questions in VISUAL-STUDIO-2013
- couldn't copy pdb file to another directory while consuming wcf web service
- XSD.exe Generating Classes with type Object instead of XSD defined type
- Can I deploy multiple instances of my application on the same windows phone?
- Cannot "Go To Definition" in Visual C++ 2013
- Get date Minus 1 day but at exacty 4 AM
- How to Create unit test cases from Dll in VS 2013
- Can I use free() formally in VS2013?
- Is it okay to cancel Visual Studio installation? And can I resume it?
- Add a picture to Picture Control in a dialog box (error RC2108: expected numerical dialog constant)
- Within a .vcxproj file what are the possible values for the <ConfigurationType> and what do those values mean?
- What is the latest .NET Framework that works with WCF RIA Services and EF 5.0 in a Silverlight 5 LOB application?
- Labels turned dark when printing as graphics in vb 2013.
- WiX and custom extensions for primary output?
- Avoiding installation of IIS Express 8 during an unattended install of Visual Studio 2013
- VS Database Project User Creation Error
Related Questions in MS-OFFICE
- Word Adin that automatically update document on the server on button press on ribbon
- How to pass a variable to a custom task pane in VB.Net
- Office Access errors
- Macro in Word to Underline each paragraph in document less than X characters long
- Copy and Paste Hyperlink change path to absolute
- C# Word Add-In Trusted Certificate
- Iterate through Resource Graph view and export to XPS with resources name in VBA Microsoft Project 2010
- Office add-in for save location
- Microsoft Graph API Accessing basic info of a user that is outside tenancy
- OpenXml.WordProcessing.Justification always comes as OpenXmlUnknownElement
- How to automate find/replace code in VBA modules in MS Office 2013?
- Creating a Record Option on a PDF or Word Document
- Office 365 Unified API Exchange folders
- Office 365 API - create folder bug and PUT file "content-length"
- Convert doc, docx, xls, xlsx to PDF (without office installed) with powershell (for free)
Related Questions in VSTO
- Word Addin not working in 64bit office but working on 32bit office
- Debug Excel VSTO add-in when launched by double-clicking existing file
- Getting Outlook Window from VSTO Addin
- change the Label of a button in ribbon word add in
- Converting Text Document from English to Chinese in Tx Text control Winform third party developed tool
- MS-Word paragraph mark (¶) shows in equation mode, how to change normal mode
- C# Word Add-In Trusted Certificate
- How to detect during Tick event if a dialog is open in Word?
- how to copy the text from textbox and paste on outlook message body
- Office incorrectly states "Programmatic Access To Visual Basic Project Is Not Trusted"
- Outlook 2013 VSTO: Determine which calendar an AppointmentItem is on?
- Shapes manipulation slows down while in "Presenter View" mode
- Excel Interop Try Catch causes memory leak I find it hard to believe I have to pick between error handling or leaking memory?
- Word add-in - ribbon
- Searching user tasks by task.body text
Related Questions in OFFICE-ADDINS
- Word Addin not working in 64bit office but working on 32bit office
- change the Label of a button in ribbon word add in
- Word add-in - ribbon
- How to capture "Print Tab" click event at the backstage in Outlook 2010 ?
- how to use built in functions for excel in office app development
- Assigning Custom Unique IDs to Word 2013 OpenXML Elements
- How can I restrict MS-Word to pre-defined styles but still allow inline format changes
- Persisting data in word document using office add-in
- How to get working Dialog API of OfficeJS API with Outlook 2016 desktop client
- Detecting a sort in officeJS Excel
- Insert Excel validation list in excel using Javascript
- Saving Custom property using OfficeJS API doesn't persist on Exchange for long time
- How to write a 'field' as link in microsoft word addin using javascript API
- What should I implement for a small popup control in a VSTO project?
- After deleting WebExtensionPart from WordprocessingDocument document get corrupted
Related Questions in RIBBONX
- How do you access Ribbon controls (eg. RibbonEditBox) from outside class?
- Disable auto resize of custom button groups in the Ribbon
- Excel 2013 Invalidate Ribbon control not working
- RibbonXml togglebutton OnAction not finding callback function
- Excel-2010 - CustomUI - Backstage : Errors when various files are opened in the same instance
- How to define size of a button in Excel 2013 using customUI editor
- Under Excel O365, the custom ribbon tab does not always populate
- How to add a custom Ribbon tab using VBA?
- Create Excel 2007 Ribbon without Custom UI Editor
- PowerPoint Add-In Loss of RibbonUI
- How can we set the width of a dropdown in VSTO Ribbn XML
- Use .ico image in ribbon
- How to get custom buttons working in Excel with VSTO
- VBA CustomUI activate or deactivate control
- Customizing the Excel Ribbon - intercept IDMSO - VBA
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Make sure that you none of the items don't have spaces in the beginning or end.
The Ribbon extensibility model doesn't provide any attribute or method for setting the width of the DropDown control. It is set automatically based on the items' width and parent ribbon group content.
You can read more about the Ribbon UI controls in the following series of articles: