using relative width, works better then absolute one, giving just enough space for icon at minimal width of sidebox

This commit is contained in:
Ralf Becker 2010-06-08 06:41:55 +00:00
parent 8b49db5a57
commit 9a32f0dc9e

View File

@ -753,7 +753,7 @@ function load_cal(url,id) {
</script>
".
$this->accountsel->selection('owner','uical_select_owner',$accounts,'calendar+',count($accounts) > 1 ? 4 : 1,False,
' style="width: '.(count($accounts) > 1 && in_array($this->common_prefs['account_selection'],array('selectbox','groupmembers')) ? '100%' : '165px').';"'.
' style="width: '.(count($accounts) > 1 && in_array($this->common_prefs['account_selection'],array('selectbox','groupmembers')) ? '100%' : '87%').';"'.
' title="'.lang('select a %1',lang('user')).'" onchange="load_cal(\''.
egw::link('/index.php',array(
'menuaction' => $this->view_menuaction,