diff --git a/components/synedit/synedit.pp b/components/synedit/synedit.pp index 62d3f9f717..9f0b059b0a 100644 --- a/components/synedit/synedit.pp +++ b/components/synedit/synedit.pp @@ -4562,6 +4562,7 @@ begin inherited CreateHandle; //SizeOrFontChanged will be called FLeftGutter.RecalcBounds; FRightGutter.RecalcBounds; + fStateFlags := fStateFlags - [sfHorizScrollbarVisible, sfVertScrollbarVisible]; UpdateScrollBars; finally DoDecPaintLock(nil);