GTK2: tabcontrol, less of a gap between tabs and body

git-svn-id: trunk@42635 -
This commit is contained in:
martin 2013-09-06 11:41:22 +00:00
parent f38edbcf27
commit 2b640c6174

View File

@ -451,7 +451,7 @@ var
FrameBorders: TRect;
begin
FrameBorders:=GetStyleNotebookFrameBorders;
Result := FrameBorders.Top + 2; // +1 for getting size, +1 to see border line
Result := FrameBorders.Top; // +1 for getting size, +1 to see border line
if Result<=0 then
Result:=inherited GetNotebookMinTabHeight(AWinControl);
//debugln('TGtkWSCustomTabControl.GetNotebookMinTabHeight A ',dbgs(Result));