From: pdontthink Date: Sat, 3 May 2008 22:38:59 +0000 (+0000) Subject: Fuss with edit list sizing a touch X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=commitdiff_plain;h=b1dcab7e911330c60f96350e79eb61857e437c8c;ds=sidebyside 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 --- 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;