[lazarus] Patch: notebook size

Micha Nelissen M.Nelissen at student.tue.nl
Tue Aug 19 09:01:28 EDT 2003


Hi,

I am not sure whether with all those size changes things are actually 
getting better, but attached is a patch that fixes notebook size.

For example, the environment options dialog looks real strange now. All 
the groupboxes are too small. It now looks worse than it looked before, 
to be honest...

Regards,

Micha.



Index: win32object.inc
===================================================================
RCS file: /FPC/CVS/projects/lazarus/lcl/interfaces/win32/win32object.inc,v
retrieving revision 1.89
diff -u -w -r1.89 win32object.inc
--- win32object.inc	17 Aug 2003 12:51:35 -0000	1.89
+++ win32object.inc	19 Aug 2003 12:58:32 -0000
@@ -659,7 +659,7 @@
               if TheWinControl.Parent.HandleAllocated then
               begin
                 Windows.SendMessage(TheWinControl.Parent.Handle,
-                                    TCM_AdjustRect, 0, LPARAM(@R));
+                                    TCM_AdjustRect, 0, LPARAM(@NewRect));
               end
             end
             else if TheWinControl.FCompStyle = csComboBox then





More information about the Lazarus mailing list