[imp] Font size appearance when composing new message in imp.

gimili gimili17 at gmail.com
Thu Dec 11 15:51:53 UTC 2008


I had a user complaining about the size of the font when composing a 
message in imp so I changed the 75% to 100% in /imp/lib/UI/Compose.php.  
This probably causes problems elsewhere but if not it might be useful 
for others?  I think it makes the font appear the same size whether you 
are using imp or dimp.  Helps those of us with poor vision.  :-) 
Please advise if it causes any dire consequences or if there is a better 
way.  Thanks!

Original:
            case 'imp':
                $params['config']['pageStyle'] = 
'body{font-size:75%;}.imp-signature{background-color: #eee;}';
                break;

            case 'dimp':
                $params['config']['height'] = 
'@raw@$(\'messageParent\').getHeight() - DimpCompose.mp_padding';
                $params['no_autoload'] = true;
                break;
            }

Modified:

            case 'imp':
                $params['config']['pageStyle'] = 
'body{font-size:100%;}.imp-signature{background-color: #eee;}';
                break;

            case 'dimp':
                $params['config']['height'] = 
'@raw@$(\'messageParent\').getHeight() - DimpCompose.mp_padding';
                $params['no_autoload'] = true;
                break;
            }


More information about the imp mailing list