U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » Menus&Toolbars » MenuBar Color[BUG]
Re: MenuBar Color[BUG] [message #13619 is a reply to message #13325] Thu, 17 January 2008 18:22 Go to previous messageGo to previous message
mrjt is currently offline  mrjt
Messages: 705
Registered: March 2007
Location: London
Contributor
I too would like to be able to fix menu bars to the left, right or bottom of windows.

The fix is to change line 81 of MenuBar.cpp (MenuBar::Paint) from:
Quote:

PaintBarArea(w, this, style->arealook);
to:
Quote:

PaintBarArea(w, this, style->arealook, (GetAlign() != BAR_TOP) ? GetScreenRect().bottom : INT_NULL);


I can see no downside to this, so would it be possible to commit the change please?

[Updated on: Thu, 17 January 2008 19:17]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: ArrayCtrl and Menus switching
Next Topic: Menu is flicking on Linux in NOGTK configuration
Goto Forum:
  


Current Time: Wed Jul 22 00:49:29 GMT+2 2026

Total time taken to generate the page: 0.00439 seconds