From 5f13d04559444a2ad17352254a29ecfdc0418c0f Mon Sep 17 00:00:00 2001 From: John Date: Fri, 10 Jul 2009 12:24:56 +0000 Subject: [PATCH] initialize Height in SetUp() to fix cell height problem when creating new tables (grids) --- PROMS/Volian.Controls.Library/StepRTB.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/PROMS/Volian.Controls.Library/StepRTB.cs b/PROMS/Volian.Controls.Library/StepRTB.cs index d3ccdec3..07dce600 100644 --- a/PROMS/Volian.Controls.Library/StepRTB.cs +++ b/PROMS/Volian.Controls.Library/StepRTB.cs @@ -316,6 +316,7 @@ namespace Volian.Controls.Library private void SetUp() { + this.Height = 10; // initialize the height to 10, the default height was too big for the cells in grid tables BorderStyle = System.Windows.Forms.BorderStyle.None; this.ScrollBars = RichTextBoxScrollBars.None; this.DetectUrls = true;