Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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 May 15 15:53:02 CEST 2024

Total time taken to generate the page: 0.01452 seconds