mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-06 03:37:54 +02:00
LCL/SpeedButton: Fix clipping of caption containing double ampersand characters, issue #39820.
This commit is contained in:
parent
8ef10902f3
commit
fbe7aa44e1
@ -1124,7 +1124,6 @@ begin
|
||||
if FShowCaption and (Caption <> '') then
|
||||
begin
|
||||
TMP := Caption;
|
||||
DeleteAmpersands(TMP);
|
||||
Flags := DT_CalcRect;
|
||||
if not Canvas.TextStyle.SingleLine then
|
||||
Inc(Flags, DT_WordBreak);
|
||||
|
Loading…
Reference in New Issue
Block a user