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 #13625 is a reply to message #13619] Thu, 17 January 2008 21:09 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 13984
Registered: November 2005
Ultimate Member
mrjt wrote on Thu, 17 January 2008 12:22

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?


Applied. Anyway, the question is whether in those case, look should not default to something else, like SColorFace. Windows nor Gtk themes are not designed for such use....

Mirek
 
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: Mon Jun 10 19:33:33 CEST 2024

Total time taken to generate the page: 0.01253 seconds