Gtk3: fixed autosizing when innerBorder <> 0. issue #41547

This commit is contained in:
zeljan1 2025-03-24 09:00:21 +01:00
parent 894c942697
commit 89ace0a31f

View File

@ -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