From b1dcab7e911330c60f96350e79eb61857e437c8c Mon Sep 17 00:00:00 2001 From: pdontthink Date: Sat, 3 May 2008 22:38:59 +0000 Subject: [PATCH] Fuss with edit list sizing a touch git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@13082 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- functions/options.php | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/functions/options.php b/functions/options.php index 1814e303..e05c408e 100644 --- a/functions/options.php +++ b/functions/options.php @@ -208,7 +208,7 @@ class SquirrelOption { $this->refresh_level = $refresh_level; $this->possible_values = $possible_values; $this->htmlencoded = $htmlencoded; - $this->size = SMOPT_SIZE_MEDIUM; + $this->size = SMOPT_SIZE_NORMAL; $this->trailing_text = ''; $this->yes_text = ''; $this->no_text = ''; @@ -711,19 +711,21 @@ class SquirrelOption { global $oTemplate; switch ($this->size) { -//FIXME: not sure about these sizes... seems like we could add another on the "large" side... case SMOPT_SIZE_TINY: $height = 3; break; case SMOPT_SIZE_SMALL: $height = 8; break; - case SMOPT_SIZE_LARGE: + case SMOPT_SIZE_MEDIUM: $height = 15; break; - case SMOPT_SIZE_HUGE: + case SMOPT_SIZE_LARGE: $height = 25; break; + case SMOPT_SIZE_HUGE: + $height = 40; + break; case SMOPT_SIZE_NORMAL: default: $height = 5; -- 2.25.1