mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-04 20:20:23 +02:00
LCL: fixed a typo which breaks IDE compilation with -dOldAutoSize
git-svn-id: trunk@24261 -
This commit is contained in:
parent
a0fc2ffad5
commit
0e648dd6d1
@ -503,7 +503,7 @@ begin
|
||||
PreferredWidth := ButtonWidth
|
||||
else
|
||||
PreferredWidth := ButtonWidth * ACount;
|
||||
inc(PreferredWidth, (Adjusted.Left - ARect.Left) + (ARect.Right - Adjusted.Right);
|
||||
inc(PreferredWidth, (Adjusted.Left - ARect.Left) + (ARect.Right - Adjusted.Right));
|
||||
|
||||
if IsVertical then
|
||||
PreferredWidth := ButtonHeight * ACount
|
||||
|
Loading…
Reference in New Issue
Block a user