From 4691888297e4796d17dab3269bd0b1c52c6492ed Mon Sep 17 00:00:00 2001 From: wp_xxyyzz Date: Sat, 1 Oct 2016 12:50:29 +0000 Subject: [PATCH] fpspreadsheet: Change default value of new WorksheetGrid property AutoCalcRowHeights to false git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5235 8e941d3f-bd1b-0410-a28a-d453659cc2b4 --- components/fpspreadsheet/fpspreadsheetgrid.pas | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/fpspreadsheet/fpspreadsheetgrid.pas b/components/fpspreadsheet/fpspreadsheetgrid.pas index 92a7e09c3..28ced3279 100644 --- a/components/fpspreadsheet/fpspreadsheetgrid.pas +++ b/components/fpspreadsheet/fpspreadsheetgrid.pas @@ -253,7 +253,7 @@ type {@@ Automatically recalculate row heights after loading a file. Gets rid of possibly incorrect row heights stored by the writing application. But: slow in case of large files. } - property AutoCalcRowHeights: Boolean read FAutoCalcRowHeights write FAutoCalcRowHeights default true; + property AutoCalcRowHeights: Boolean read FAutoCalcRowHeights write FAutoCalcRowHeights default false; {@@ Automatically expand grid dimensions } property AutoExpand: TsAutoExpandModes read FAutoExpand write FAutoExpand; {@@ Displays column and row headers in the fixed col/row style of the grid. @@ -1016,7 +1016,7 @@ begin FSelPen.JoinStyle := pjsMiter; FSelPen.OnChange := @SelPenChangeHandler; FAutoExpand := [aeData, aeNavigation]; - FAutoCalcRowHeights := true; + FAutoCalcRowHeights := false; FHyperlinkTimer := TTimer.Create(self); FHyperlinkTimer.Interval := HYPERLINK_TIMER_INTERVAL; FHyperlinkTimer.OnTimer := @HyperlinkTimerElapsed;