mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-07-07 23:26:40 +02:00
Gtk3: fixed autosizing when innerBorder <> 0. issue #41547
This commit is contained in:
parent
894c942697
commit
89ace0a31f
@ -87,7 +87,7 @@ begin
|
|||||||
end;
|
end;
|
||||||
|
|
||||||
// we respect ws height if autosize is true.
|
// we respect ws height if autosize is true.
|
||||||
if AControl.LCLObject.AutoSize then
|
if AControl.LCLObject.AutoSize and (AControl.LCLObject.BorderSpacing.InnerBorder = 0) then
|
||||||
exit;
|
exit;
|
||||||
|
|
||||||
// Custom height handling
|
// Custom height handling
|
||||||
|
Loading…
Reference in New Issue
Block a user