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

zeljko zeljko at holobit.net
Sat Feb 11 15:17:54 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.

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


More information about the Lazarus mailing list