mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-26 18:03:39 +01:00
an other try to get the right size for the multiple selectbox with checkboxes
This commit is contained in:
parent
a4fb15d410
commit
9f0f20a4cf
@ -321,7 +321,7 @@ class html
|
|||||||
' id="'.$base_name.'['.$val.']'.'" '.($title ? 'title="'.$this->htmlspecialchars($title).'" ':'')).
|
' id="'.$base_name.'['.$val.']'.'" '.($title ? 'title="'.$this->htmlspecialchars($title).'" ':'')).
|
||||||
$this->htmlspecialchars($label),$base_name.'['.$val.']')."<br />\n";
|
$this->htmlspecialchars($label),$base_name.'['.$val.']')."<br />\n";
|
||||||
}
|
}
|
||||||
$style = 'height: '.(1.7*$multiple).'em; width: '.(4+0.5*$max_len).'em; background-color: white; overflow: auto; border: lightgray 2px inset;';
|
$style = 'height: '.(1.7*$multiple).'em; width: '.(4+$max_len*($max_len < 15 ? 0.65 : 0.55)).'em; background-color: white; overflow: auto; border: lightgray 2px inset;';
|
||||||
|
|
||||||
return $this->div($html,$options,'',$style);
|
return $this->div($html,$options,'',$style);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user