mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-22 07:19:31 +02:00
GTK2: tabcontrol, less of a gap between tabs and body
git-svn-id: trunk@42635 -
This commit is contained in:
parent
f38edbcf27
commit
2b640c6174
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user