mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-06-01 23:12:42 +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;
|
||||
|
||||
// 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;
|
||||
|
||||
// Custom height handling
|
||||
|
Loading…
Reference in New Issue
Block a user