Ticket Q588613
Visible to All Users
Duplicate

We have closed this ticket because another page addresses its subject:

How to set Bar Height

How to set height of the main menu bar

created 11 years ago

Hi,

How I can set height of the main menu bar?

Best regards,
Andrzej Kurowicki

Answers approved by DevExpress Support

created 11 years ago (modified 11 years ago)

Hello Andzej,
The Bar takes its height from the BarEditItems placed into it. So, to specify the Bar's height, specify the BarEditItem.EditHeight property.
If you wish to specify the height of the Bar separately from the editor's height, I suggest that you create a custom bar as described in the How to set Bar Height ticket. You need to set the MinHeight property to a required value. I've attached a sample showing this. However, in this case, would you please explain why you wish to specify the height of the Bar separately from the editor's height?
I'm looking forward to your reply.

    Comments (2)
    AK AK
    Andrzej Kurowicki 11 years ago

      Hi Jannet,
      Your suggestion to create a custom bar with possibility to set MinHeight property is good enough for my project.
      Thanks

      DevExpress Support Team 11 years ago

        I'm happy to hear that this solution is suitable for you, Andzej.
        Should you have any further questions, feel free to contact us at any time.

        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.