mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-07-28 23:16:14 +02:00
SynEdit: Fix scrollbars, if new handle is created (SynEdit shown a 2nd time). Issue #33784
git-svn-id: trunk@58022 -
This commit is contained in:
parent
d816f49f82
commit
ca253bd7c9
@ -4562,6 +4562,7 @@ begin
|
|||||||
inherited CreateHandle; //SizeOrFontChanged will be called
|
inherited CreateHandle; //SizeOrFontChanged will be called
|
||||||
FLeftGutter.RecalcBounds;
|
FLeftGutter.RecalcBounds;
|
||||||
FRightGutter.RecalcBounds;
|
FRightGutter.RecalcBounds;
|
||||||
|
fStateFlags := fStateFlags - [sfHorizScrollbarVisible, sfVertScrollbarVisible];
|
||||||
UpdateScrollBars;
|
UpdateScrollBars;
|
||||||
finally
|
finally
|
||||||
DoDecPaintLock(nil);
|
DoDecPaintLock(nil);
|
||||||
|
Loading…
Reference in New Issue
Block a user