[Lazarus] IDE Main Window: height is too small and cannot resize (Linux/GTK2)

zeljko zeljko at holobit.net
Sat Feb 11 08:47:42 CET 2012


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20120211/1ac1ef11/attachment-0003.html>


More information about the Lazarus mailing list