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.
Have you tried with LCLIntf.GetSystemMetrics(SM_CYMENUSIZE) ? I guess it'll return something under win32, but it's not implemented for others yet (I guess it shouldn't be too hard to implement it) zeljko
-- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
