Bug Report T293698
Visible to All Users

BarButtonItem - The drop-down arrow is not shown if an item has no caption (RibbonStyle = MacOffice)

created 9 years ago (modified 9 years ago)

Hi there,

I raised this issue about 3 weeks ago, but then changed my mind with how I wanted to complete this task - I have now changed my mind once again and I want to use this control again.
The original forum thread is T287423

I have found that the arrow is not drawn when the button has no text, when sat in a RibbonGroup in a Ribbon Bar. Please see the attached project.

As the button will have an icon that is representative of the function it performs, it does not need to have a text caption underneath the button. But as it doesn't have a caption, it doesn't draw the arrow, even when the Button's properties are set as

ActAsDropDown: True
AllowDrawArrow: True
AllowDrawArrowInMenu: True
ButtonStyle: DropDown

With these properties set, the button's clickable area is bigger than the icon, as if the arrow is there to be drawn but is not shown when there is no caption.

If ActAsDropDown is set to false, then the arrow is drawn, but then clicking the icon does not open the drop down menu.

What I would like is to have a button that has a DropDown Menu attached, with no caption, which draws the arrow next to it to show that it has a DropDown Menu.

Show previous comments (1)
DevExpress Support Team 9 years ago

    Hello Tom,
    Thank you for the provided project. I see the described behavior. I saw your latest comment, however, this behavior appears to be specific to RibbonStyle (MacOffice). I've passed this ticket to our developers for further research. Please stay tuned. We'll notify you of our results once we have any.

      Brilliant, thanks for the quick response and fix!

      DevExpress Support Team 9 years ago

        You are welcome! Please feel free to contact us in case of further difficulties.

        Answers approved by DevExpress Support

        created 9 years ago (modified 9 years ago)

        We have fixed the issue described in this ticket and will include the fix in our next maintenance update. To apply this solution before the official update, request a hotfix by clicking the corresponding link for product versions you require.

        Note: Hotfixes may be unavailable for beta versions and updates that are about to be released.

          Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

          Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.