On Friday 10 of February 2012 18:48:44 Samuel Herzog wrote: > Hi all, > > sorry, but this issue was brought up by me. > > I tried to solve http://bugs.freepascal.org/view.php?id=1020 which is > almost 7 years old. (reported in 2005) > > > And I must say, on windows plattform the Lazarus IDE MainBar really looks > uggly. > > The MainBar Height was set to 110. On windows 75pixel looks perfect. So we > had 35pixels of just gray colored nothing. > > > So we need a flexibel, OS-dependent patch for this issue. Otherwise it > might look uggly for another 7 years ;-) > > I tried yesterday to make a new dynamic patch, but I was not able to determ > the height of the mainmenu. Will continue tonight.
@Samuel, I've implemented SM_CYMENU for qt and gtk2 today (under win32 it already works), so you can finish your implementation and attach patch somewhere .... LCLIntf.GetSystemMetrics(SM_CYMENU) returns complete menubar height. zeljko
-- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
